route('dashboard'); }); Auth::routes(); Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard'); Route::get('/management/{tab?}', [ManagementController::class, 'index'])->name('management.index'); // 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'); Route::get('invoices/{invoice}/pdf', [InvoiceController::class, 'pdf'])->name('invoice.pdf'); Route::get('customers/{customer}/pdf', [CustomerController::class, 'pdf'])->name('customer.pdf');