prefix('shopfloor') ->group(function () { Route::get('install', [InstallController::class, 'index']); Route::post('install', [InstallController::class, 'install']); Route::get('install/update', [InstallController::class, 'update']); Route::get('/', [DashboardController::class, 'index']); Route::get('work-centers', [WorkCenterController::class, 'index']); Route::post('work-centers', [WorkCenterController::class, 'store']); Route::put('work-centers/{id}', [WorkCenterController::class, 'update']); Route::get('production-events', [ProductionEventController::class, 'index']); Route::post('production-events', [ProductionEventController::class, 'store']); Route::get('downtime', [DowntimeController::class, 'index']); Route::post('downtime', [DowntimeController::class, 'store']); Route::post('downtime/{id}/end', [DowntimeController::class, 'end']); Route::get('oee', [OeeController::class, 'index']); Route::post('oee/calculate', [OeeController::class, 'calculate']); Route::get('work-instructions', [WorkInstructionController::class, 'index']); Route::post('work-instructions', [WorkInstructionController::class, 'store']); });