integarasi admin ke so dan penambahan menu otorisator so

This commit is contained in:
majid
2024-10-08 14:35:59 +07:00
parent 0b5820375b
commit 0fbbb8f081
8 changed files with 619 additions and 96 deletions

View File

@@ -479,6 +479,20 @@ Route::middleware(['auth'])->group(function () {
/**
* Route end activity
*/
Route::name('otorisator.')->prefix('otorisator')->group(function () {
Route::get('pelaporan', [PenilaianController::class, 'otorisator'])->name('pelaporan.index')->defaults('type', 'pelaporan');
Route::get('pembayaran', [PenilaianController::class, 'otorisator'])->name('pembayaran.index')->defaults('type', 'pembayaran');
Route::get('pembatalan', [PenilaianController::class, 'otorisator'])->name('pembatalan.index')->defaults('type', 'pembatalan');
Route::get('sla', [PenilaianController::class, 'otorisator'])->name('sla.index')->defaults('type', 'sla');
Route::get('/datatables/{otorisator}', [PenilaianController::class, 'dataForAuthorization'])->name('datatables');
Route::get('show/{id}', [PenilaianController::class, 'show'])->name('show');
});
});
require __DIR__ . '/registrasi.php';