route('dashboard'); }); Auth::routes(); Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard'); Route::get('/management/{tab?}', [ManagementController::class, 'index'])->name('management.index'); // Customers Route::resource('customers', CustomerController::class); Route::get('/customers/{customer}/{tab}', [CustomerController::class, 'show'])->name('customers.show'); Route::post('/customers/request-destroy', [CustomerController::class, 'requestDestroy'])->name('customers.requestDestroy'); // OrderProducts Route::resource('order-products', OrderProductController::class); // Contacts Route::resource('contacts', ContactController::class); Route::post('/contacts/request-destroy', [ContactController::class, 'requestDestroy'])->name('contacts.requestDestroy'); Route::resource('packing-slips', PackingSlipController::class); Route::resource('shipping-entries', ShippingEntryController::class); Route::resource('orders', OrderController::class); Route::get('orders/{order}/pdf', [OrderController::class, 'pdf'])->name('orders.pdf');