main
Ilham Wara Nugroho 2026-06-17 13:53:13 +07:00
parent df58a60c14
commit a31b1c6845
2 changed files with 2 additions and 2 deletions

View File

@ -425,7 +425,7 @@ class FormController implements HasMiddleware
return view('modules.form.form', $data); return view('modules.form.form', $data);
} }
public function update($sector, $code) public function updateForm($sector, $code)
{ {
// Filter by Year // Filter by Year
$inventoryYear = request('inventoryYear') ?? date('Y'); $inventoryYear = request('inventoryYear') ?? date('Y');

View File

@ -320,4 +320,4 @@ Route::name('management.')->prefix('management')->group(function () {
Route::post('{inventoryYear}/{instansi?}', [FormController::class, 'approvalKonsolidasi'])->name('form.approval'); Route::post('{inventoryYear}/{instansi?}', [FormController::class, 'approvalKonsolidasi'])->name('form.approval');
}); });
Route::get('form/update/{sector}/{code}', [FormController::class, 'update'])->name('form.update'); Route::get('form/update/{sector}/{code}', [FormController::class, 'updateForm'])->name('form.updateForm');