name('home'); Route::middleware(['auth', 'verified'])->group(function () { Route::get('/dashboard', [DashboardController::class, 'index'])->name('dashboard'); // employee route Route::get('/employees', [EmployeeController::class, 'index'])->name('employees.index'); Route::get('/employees/create', [EmployeeController::class, 'create'])->name('employees.create'); Route::post('/employees', [EmployeeController::class, 'store'])->name('employees.store'); Route::get('/employees/{employee}/edit', [EmployeeController::class, 'edit'])->name('employees.edit'); Route::put('/employees/{employee}', [EmployeeController::class, 'update'])->name('employees.update'); Route::delete('/employees/{employee}', [EmployeeController::class, 'destroy'])->name('employees.destroy'); // patient route Route::get('/patients', [PatientController::class, 'index'])->name('patients.index'); Route::get('/patients/create', [PatientController::class, 'create'])->name('patients.create'); Route::post('/patients', [PatientController::class, 'store'])->name('patients.store'); Route::get('/patients/{patient}/edit', [PatientController::class, 'edit'])->name('patients.edit'); Route::put('/patients/{patient}', [PatientController::class, 'update'])->name('patients.update'); Route::delete('/patients/{patient}', [PatientController::class, 'destroy'])->name('patients.destroy'); // insurance route Route::get('/insurances', [InsuranceController::class, 'index'])->name('insurances.index'); Route::get('/insurances/create', [InsuranceController::class, 'create'])->name('insurances.create'); Route::post('/insurances', [InsuranceController::class, 'store'])->name('insurances.store'); Route::get('/insurances/{insurance}', [InsuranceController::class, 'edit'])->name('insurances.edit'); Route::put('/insurances/{insurance}', [InsuranceController::class, 'update'])->name('insurances.update'); Route::delete('/insurances/{insurance}', [InsuranceController::class, 'destroy'])->name('insurances.destroy'); // service room route Route::get('/room-services', [ServiceRoomController::class, 'index'])->name('room-services.index'); Route::get('/room-services/create', [ServiceRoomController::class, 'create'])->name('service-rooms.create'); Route::post('/room-services', [ServiceRoomController::class, 'store'])->name('service-rooms.store'); Route::get('/room-services/{serviceRoom}', [ServiceRoomController::class, 'edit'])->name('service-rooms.edit'); Route::put('/room-services/{serviceRoom}', [ServiceRoomController::class, 'update'])->name('service-rooms.update'); Route::delete('/room-services/{serviceRoom}', [ServiceRoomController::class, 'destroy'])->name('service-rooms.destroy'); // procedure route Route::get('/procedures', [ProcedureController::class, 'index'])->name('procedures.index'); Route::get('/procedures/create', [ProcedureController::class, 'create'])->name('procedures.create'); Route::post('/procedures', [ProcedureController::class, 'store'])->name('procedures.store'); Route::get('/procedures/{procedure}', [ProcedureController::class, 'edit'])->name('procedures.edit'); Route::put('/procedures/{procedure}', [ProcedureController::class, 'update'])->name('procedures.update'); Route::delete('/procedures/{procedure}', [ProcedureController::class, 'destroy'])->name('procedures.destroy'); // registration route Route::get('/registrations', [RegistrationController::class, 'index'])->name('registrations.index'); Route::get('/registrations/create', [RegistrationController::class, 'create'])->name('registrations.create'); Route::post('/registrations', [RegistrationController::class, 'store'])->name('registrations.store'); Route::get('/registrations/{registration}', [RegistrationController::class, 'edit'])->name('registrations.edit'); Route::put('/registrations/{registration}', [RegistrationController::class, 'update'])->name('registrations.update'); Route::delete('/registrations/{registration}', [RegistrationController::class, 'destroy'])->name('registrations.destroy'); // transaction route Route::get('/transactions', [TransactionController::class, 'index'])->name('transactions.index'); Route::get('/transactions/create', [TransactionController::class, 'create'])->name('transactions.create'); Route::post('/transactions', [TransactionController::class, 'store'])->name('transactions.store'); Route::get('/transactions/{transaction}', [TransactionController::class, 'edit'])->name('transactions.edit'); Route::put('/transactions/{transaction}', [TransactionController::class, 'update'])->name('transactions.update'); Route::delete('/transactions/{transaction}', [TransactionController::class, 'destroy'])->name('transactions.destroy'); }); require __DIR__.'/settings.php'; require __DIR__.'/auth.php';