revised form vehicle, entertainment and other
This commit is contained in:
+8
-2
@@ -38,7 +38,7 @@ Route::group(['prefix' => 'admin', 'as' => 'admin.', 'middleware' => ['auth:admi
|
||||
Route::resource('admins', AdminsController::class);
|
||||
Route::get('/admins/expense/{user_id}', [AdminsController::class, 'expense'])->name('admins.expense');
|
||||
Route::resource('roles', RolesController::class);
|
||||
Route::get('/admin', [DashboardController::class, 'index'])->name('dashboard');
|
||||
Route::get('/', [DashboardController::class, 'index'])->name('dashboard');
|
||||
|
||||
// Rayon
|
||||
Route::get('/rayon', [RayonController::class, 'index'])->name('rayon.index');
|
||||
@@ -77,7 +77,7 @@ Route::middleware(['auth:admin', 'menu'])->group(function () {
|
||||
// Up Country
|
||||
Route::get('/up-country', [FormUpCountryController::class, 'index'])->name('forms.up-country');
|
||||
Route::get('/up-country/detail/{id}', [FormUpCountryController::class, 'detail'])->name('forms.up-country.detail');
|
||||
Route::get('/up-country/view/{id}', [FormUpCountryController::class, 'view'])->name('forms.up-country.view');
|
||||
Route::get('/up-country/view/{id}', [FormUpCountryController::class, 'view'])->name('forms.up-country.view');
|
||||
Route::get('/up-country/create', [FormUpCountryController::class, 'create'])->name('forms.up-country.create');
|
||||
Route::post('/up-country/store', [FormUpCountryController::class, 'store'])->name('forms.up-country.store');
|
||||
Route::get('/up-country/edit/{id}', [FormUpCountryController::class, 'edit'])->name('forms.up-country.edit');
|
||||
@@ -90,6 +90,8 @@ Route::middleware(['auth:admin', 'menu'])->group(function () {
|
||||
|
||||
// Vehicle Running Cost
|
||||
Route::get('/vehicle-running-cost', [FormVehicleController::class, 'index'])->name('forms.vehicle');
|
||||
Route::get('/vehicle-running-cost/detail/{id}', [FormVehicleController::class, 'detail'])->name('forms.vehicle.detail');
|
||||
Route::get('/vehicle-running-cost/view/{id}', [FormVehicleController::class, 'view'])->name('forms.vehicle.view');
|
||||
Route::get('/vehicle-running-cost/create', [FormVehicleController::class, 'create'])->name('forms.vehicle.create');
|
||||
Route::post('/vehicle-running-cost/store', [FormVehicleController::class, 'store'])->name('forms.vehicle.store');
|
||||
Route::get('/vehicle-running-cost/edit/{id}', [FormVehicleController::class, 'edit'])->name('forms.vehicle.edit');
|
||||
@@ -102,6 +104,8 @@ Route::middleware(['auth:admin', 'menu'])->group(function () {
|
||||
|
||||
// Entertainment & Presentation
|
||||
Route::get('/entertainment-presentation', [FormEntertainmentPresentationController::class, 'index'])->name('forms.entertainment');
|
||||
Route::get('/entertainment-presentation/detail/{id}', [FormEntertainmentPresentationController::class, 'detail'])->name('forms.entertainment.detail');
|
||||
Route::get('/entertainment-presentation/view/{id}', [FormEntertainmentPresentationController::class, 'view'])->name('forms.entertainment.view');
|
||||
Route::get('/entertainment-presentation/create', [FormEntertainmentPresentationController::class, 'create'])->name('forms.entertainment.create');
|
||||
Route::post('/entertainment-presentation/store', [FormEntertainmentPresentationController::class, 'store'])->name('forms.entertainment.store');
|
||||
Route::get('/entertainment-presentation/edit/{id}', [FormEntertainmentPresentationController::class, 'edit'])->name('forms.entertainment.edit');
|
||||
@@ -128,6 +132,8 @@ Route::middleware(['auth:admin', 'menu'])->group(function () {
|
||||
|
||||
// Other
|
||||
Route::get('/other', [FormOtherController::class, 'index'])->name('forms.other');
|
||||
Route::get('/other/detail/{id}', [FormOtherController::class, 'detail'])->name('forms.other.detail');
|
||||
Route::get('/other/view/{id}', [FormOtherController::class, 'view'])->name('forms.other.view');
|
||||
Route::get('/other/create', [FormOtherController::class, 'create'])->name('forms.other.create');
|
||||
Route::post('/other/store', [FormOtherController::class, 'store'])->name('forms.other.store');
|
||||
Route::get('/other/edit/{id}', [FormOtherController::class, 'edit'])->name('forms.other.edit');
|
||||
|
||||
Reference in New Issue
Block a user