change strcture controller becuse repet some code in 3 file and get same code in model

This commit is contained in:
2025-11-09 15:25:00 +03:30
parent a619efb123
commit 40513d72b8
7 changed files with 250 additions and 492 deletions

View File

@@ -552,6 +552,8 @@ Route::prefix('harim')
Route::post('/file_rejected/{harim}', 'fileRejected')->name('fileRejected');
Route::get('/{harim}', 'show')->name('show');
Route::post('/refer_request/{harim}', 'referRequest')->name('referRequest');
Route::post('/computing_payment/{harim}', 'computingPayment')->name('computingPayment');
Route::post('/refer_to_city/{harim}', 'referToCity')->name('referToCity');
});
Route::prefix('technical_deputy')
@@ -564,6 +566,8 @@ Route::prefix('harim')
Route::post('/confirm_road_access/{harim}', 'confirmRoadAccess')->name('confirmRoadAccess');
Route::post('/refer_road_access/{harim}', 'referRoadAccess')->name('referRoadAccess');
Route::get('/{harim}', 'show')->name('show');
Route::post('/refer_payment/{harim}', 'referPayment')->name('referPayment');
Route::post('/confirm_payment/{harim}', 'confirmPayment')->name('confirmPayment');
});
Route::prefix('general_manager')
@@ -579,6 +583,8 @@ Route::prefix('harim')
Route::post('/confirm_road_access_edit_need/{harim}', 'confirmRoadAccessEditNeed')->name('confirmRoadAccessEditNeed');
Route::post('/confirm_guarantee_letter_need/{harim}', 'confirmGuaranteeLetterNeed')->name('confirmGuaranteeLetterNeed');
Route::get('/{harim}', 'show')->name('show');
Route::post('/refer_payment/{harim}', 'referPayment')->name('referPayment');
Route::post('/confirm_payment/{harim}', 'confirmPayment')->name('confirmPayment');
});
});