ÿØÿà JFIF ÿá Exif MM * ÿÛ C
Server IP : 199.250.214.225 / Your IP : 18.227.52.55 Web Server : Apache System : Linux vps64074.inmotionhosting.com 3.10.0-1160.105.1.vz7.214.3 #1 SMP Tue Jan 9 19:45:01 MSK 2024 x86_64 User : nicngo5 ( 1001) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /home/nicngo5/funds.upgrade.nicn.gov.ng/funds-upgraded/routes/ |
Upload File : |
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ /* Route::get('/', function () { return view('welcome'); }); Route::get('/dashboard', function () { return view('dashboard'); })->middleware(['auth'])->name('dashboard'); */ require __DIR__.'/auth.php'; Route::get('/', 'MainController@userArea'); Route::post('login', 'Auth\AuthController@login'); Route::get('logout', 'Auth\AuthController@destroy'); Route::group(['middleware' => ['guest']], function() { //Route::get('login', 'DynamicCompanyController@index'); //Route::get('login', 'Auth\AuthController@showLoginForm')->name('gotToLogin'); //Route::get('login', 'Auth\AuthController@showLoginForm')->name('login'); //Route::post('login', 'Auth\AuthController@login'); //forget Password Route::get('forget-password', 'PasswordController@userForgetPassword'); Route::post('forget-password', 'PasswordController@userResetPassword'); Route::get('password-reset/resets/{token}', 'PasswordController@ResetPassword'); Route::post('password-reset/resets/{token}', 'PasswordController@ResetPassword'); }); Route::group(['middleware' => ['auth']], function () { Route::group(['middleware' => ['role:admin|tax staff|cpo staff|audit staff|super admin|salary collator|nhf staff']], function() { Route::get('/division/changeDivision', 'DivisionController@changeDivisionCreate'); Route::post('/division/changeDivisionStore', 'DivisionController@changeDivisionStore'); }); Route::get('user/register', 'Auth\UserController@registerUser'); Route::post('user/store', 'Auth\UserController@storeUser'); //edit user account Route::get('/user/editAccount', 'Auth\UserController@editAccount'); Route::post('user/editAccount', 'Auth\UserController@editAccountStore'); Route::any('user-management', 'BasicParameterController@Usermanagement'); Route::any('users-management', 'BasicParameterController@Usermanagement'); //UPDATE PASSWORD Route::get('/update/password', 'Auth\UserController@update'); Route::post('/update/password', 'Auth\UserController@updatePassword'); //CREATE NEW STAFF / BIO-DATA Route::get('/staff/create', 'CreateStaffController@create'); Route::post('/staff/store', 'CreateStaffController@store'); Route::post('json/staff/search', 'CreateStaffController@findStaff'); //by json Route::get('/profile/details/report/{fileNo?}', 'CreateStaffController@report'); //Report Route::get('/profile/account/report/{fileNo?}', 'CreateStaffController@accountReport'); //Report //search for staff record Route::get('/searchUser/create', 'SearchUserController@create'); Route::post('/searchUser/create', 'SearchUserController@retrieve'); Route::get('/searchUser/{q?}', 'SearchUserController@autocomplete'); //staff claim //routes for normal staff Route::get('/staff-claim', 'StaffClaimController@index')->name('staffindex'); Route::get('/staff-claim-push-to-hod', 'StaffClaimController@index')->name('pushClaimToHod'); Route::post('/staff-claim-push-to-hod', 'StaffClaimController@pushClaimHod')->name('pushClaimToHod'); Route::post('/staff-claim', 'StaffClaimController@sendClaim')->name('claimSend'); Route::post('/remove-staff-from-list', 'StaffClaimController@removeStaffFromList'); Route::post('/add-more-staff-to-claim', 'StaffClaimController@addMoreStaffToList')->name('addMoreStaffToClaim'); Route::get('/add-more-staff-to-claim', 'StaffClaimController@index');//fallBack Route::post('/update-staff-claim-amount', 'StaffClaimController@updateStaffClaimAmount')->name('updateStaffAmount'); Route::get('/update-staff-claim-amount', 'StaffClaimController@index');//fallBack Route::post('/update-claim-details', 'StaffClaimController@updateClaimDetails')->name('updateStaffClaimDetails'); Route::get('/update-claim-details', 'StaffClaimController@index');//fallBack Route::post('/claim-comment-for-rejection', 'StaffClaimController@claimRejection');//AJAX Call for claim rejection Route::post('/remove-staff-claim', 'StaffClaimController@deleteClaim');//AJAX Call for claim deleteion Route::post('/approve-staff-claim', 'StaffClaimController@approveStaffClaim');//AJAX Call for staff claim approval Route::post('/add-more-comment-claim', 'StaffClaimController@addMoreCommentClaim');//AJAX Call for More comment Route::post('/claim-comment-for-rejection-by-es', 'StaffClaimController@claimRejection');//AJAX Call Deny by ES Route::post('/approve-staff-claim-by-es', 'StaffClaimController@approveStaffClaim');//AJAX Call by Es approval Route::post('/upload-staff-claim-files', 'StaffClaimController@uploadAttachStaffClaimFile')->name('uploadStaffFileClaim'); Route::get('/upload-staff-claim-files', 'StaffClaimController@index')->name('uploadStaffFileClaim'); //routes for department head Route::get('/claim-review' ,'StaffClaimController@claimReview')->name('claimReview'); //Route::get('/dep-claim/{id}/{num}' ,'StaffClaimController@departmentClaim')->name('depClaim'); Route::post('/edit-amount' ,'StaffClaimController@editAmount')->name('editAmount'); Route::post('/select-status' ,'StaffClaimController@selectStatus')->name('selectStatus'); //routes for the Executive Secretary Route::get('/review-es' ,'StaffClaimController@reviewES')->name('reviewES'); Route::post('/select-department' ,'StaffClaimController@selectDep')->name('selectDep'); Route::get('/es-claim/{id}/{num}' ,'StaffClaimController@esClaim')->name('esClaim'); //CREATE NEW STAFF TRANSFER Route::get('/staff/transfer', 'StaffTransferController@create'); Route::post('/staff/transfer', 'StaffTransferController@create'); //R. Variation: Records and Variation Route::post('/manpower/search/central', 'ManPowerController@searchCentral'); Route::get('/earning_deduction/approval', 'EarningDeductionController@index'); Route::post('/earning_deduction/approval', 'EarningDeductionController@index'); Route::get('/earn_deduct_staffcv/{id?}', 'EarningDeductionController@edscv'); Route::post('/earn_deduct_staffcv/{id?}', 'EarningDeductionController@edscv'); Route::get('/generalrecord_earn_deduct/{id?}', 'EarningDeductionController@gred'); Route::post('/generalrecord_earn_deduct/{id?}', 'EarningDeductionController@gred'); Route::get('/generalrecord_earn_deduct2/{id?}', 'EarningDeductionController@gred2'); Route::post('/generalrecord_earn_deduct2/{id?}', 'EarningDeductionController@gred2'); Route::get('/rec/dec/{id?}', 'EarningDeductionController@ogred'); Route::post('/rec/dec/{id?}', 'EarningDeductionController@ogred'); Route::get('/rec/dec2/{id?}', 'EarningDeductionController@ogred2'); Route::post('/rec/dec2/{id?}', 'EarningDeductionController@ogred2'); Route::get('/tourslash/leave/{id?}', 'TourSlashLeaveController@index'); Route::post('/tourslash/leave/{id?}', 'TourSlashLeaveController@index'); Route::get('/tours/z/{s?}/{e?}', 'TourSlashLeaveController@ajax'); Route::get('/tours/d/{s?}', 'TourSlashLeaveController@delete'); Route::get('/allocationtype/set', 'FundsProjectController@index'); Route::post('/allocationtype/set', 'FundsProjectController@index'); Route::get('/contracttype/set', 'FundsProjectController@contractt'); Route::post('/contracttype/set', 'FundsProjectController@contractt'); Route::get('/create/contract', 'CreateContractVoucherController@PrecreateContractVoucher'); Route::post('/create/contract', 'CreateContractVoucherController@PrecreateContractVoucher'); Route::get('/raise/voucher', 'CreateContractVoucherController@createContractVoucher'); Route::post('/raise/voucher', 'CreateContractVoucherController@createContractVoucher'); Route::get('/voucher/continue/{id?}/{ctype?}', 'CreateContractVoucherController@continu'); Route::post('/voucher/continue/{id?}/{ctype?}', 'CreateContractVoucherController@continu'); Route::any('/new-voucher/{cid?}', 'CreateContractVoucherControllerNew@newvourcher'); Route::get('/create/procurement', 'ProcurementController@newprocurement'); Route::post('/create/procurement', 'ProcurementController@newprocurement'); Route::any('/create/new-contract', 'ProcurementController@procurement_ContractEntry'); Route::get('/create/procurement-staff', 'ProcurementController@newprocurement_staff'); Route::post('/create/procurement-staff', 'ProcurementController@newprocurement_staff'); Route::get('/procurement/approve', 'ProcurementController@approveprocurement'); Route::post('/procurement/approve', 'ProcurementController@approveprocurement'); Route::get('/claimcontract/report', 'ProcurementController@contractClaimReport'); Route::post('/claimcontract/report', 'ProcurementController@contractClaimReport'); Route::get('/procurement/ca-approve', 'ProcurementController@approveprocurement'); Route::post('/procurement/ca-approve', 'ProcurementController@approveprocurement'); Route::get('/pro/file/{name?}', 'ProcurementController@viewfile'); //Route::get('/voucher/liabilityx', 'LiabilityControllerx@index'); //Route::post('/voucher/liabilityx', 'LiabilityControllerx@index'); Route::get('/voucher/liability', 'LiabilityController@index'); Route::post('/voucher/liability', 'LiabilityController@index'); Route::get('/voucher/editable/list', 'LiabilityController@editableVoucher'); Route::post('/voucher/editable/list', 'LiabilityController@editableVoucher'); //Process Voucher or commit Route::any('/voucher/final-clearance', 'LiabilityController@FinalApproval'); Route::get('/voucher/check', 'LiabilityController@check'); Route::post('/voucher/check', 'LiabilityController@check'); Route::get('/voucher/audit', 'LiabilityController@Auditcheck'); Route::post('/voucher/audit', 'LiabilityController@Auditcheck'); Route::post('/voucher/check-date', 'LiabilityController@check'); Route::get('/voucher/check-date', 'LiabilityController@check'); //Route::get('/voucher/audit', 'AuditorController@audit'); //Route::post('/voucher/audit', 'AuditorController@audit'); Route::get('/checkby/voucher', 'LiabilityController@checkbypage'); Route::post('/checkby/voucher', 'LiabilityController@checkbypage'); Route::get('/occheckby/voucher', 'LiabilityController@OCclearance'); Route::post('/occheckby/voucher', 'LiabilityController@OCclearance'); Route::get('/voucher/edit/{id?}', 'CreateContractVoucherController@edit'); Route::get('/process-voucher/edit', 'LiabilityController@check'); Route::post('/process-voucher/edit', 'CreateContractVoucherController@postEdit'); Route::get('/tech/documentation', 'TechnicalDocumentationController@index')->name('techDocument'); Route::post('/tech/documentation', 'TechnicalDocumentationController@index'); Route::get('/tech/modify/{id?}', 'TechnicalDocumentationController@modify')->name('addModification'); Route::post('/tech/modify/{id?}', 'TechnicalDocumentationController@modify'); Route::get('/create/cate/{id?}', 'TechnicalDocumentationController@createcat')->name('createCategory'); Route::post('/create/cate/{id?}', 'TechnicalDocumentationController@createcat'); Route::get('/add/module/{id?}', 'TechnicalDocumentationController@addmodule')->name('addModule'); Route::post('/add/module/{id?}', 'TechnicalDocumentationController@addmodule'); Route::get('/tech/viewall/{id?}/{c?}/{m?}', 'TechnicalDocumentationController@viewall')->name('viewAll'); Route::post('/add/module/{id?}/{c?}/{m?}}', 'TechnicalDocumentationController@viewall'); //next of kin Route::get('/update/next-of-kin/{fileNo?}' , 'NextOfKinController@index'); Route::get('/remove/next-of-kin/{fileNo?}/{kinID?}', 'NextOfKinController@delete'); Route::get('/update/view/{kinID?}', 'NextOfKinController@view'); Route::post('/process/next-of-kin/', 'NextOfKinController@store'); Route::post('/update/next-of-kin/', 'NextOfKinController@update'); Route::get('/profile/next-of-kin/report/{fileNo?}', 'NextOfKinController@report'); //particulars of wife - date of birth Route::get('/particular/wife/create/{fileNo?}', 'DateOfBirthWifeController@create'); Route::get('/remove/particular/{fileNo?}', 'DateOfBirthWifeController@delete'); Route::post('/process/particular', 'DateOfBirthWifeController@store'); Route::get('/particular/edit/{ID?}', 'DateOfBirthWifeController@view'); Route::get('/profile/particular-wife/report/{fileNo?}', 'DateOfBirthWifeController@report'); //particulars of children Route::get('/children/create/{fileNo?}', 'ParticularsOfChildrenController@index'); Route::get('/children/remove/{id?}', 'ParticularsOfChildrenController@delete'); Route::post('/children/create', 'ParticularsOfChildrenController@store'); Route::get('/children/edit/{id?}', 'ParticularsOfChildrenController@view'); Route::post('/children/edit', 'ParticularsOfChildrenController@update'); Route::get('/profile/children/report/{fileNo?}', 'ParticularsOfChildrenController@report'); //Languages Routes Route::get('/update/languages/{fileNo?}', 'LanguagesController@index'); Route::get('/update/languages/view/{langid?}', 'LanguagesController@view'); Route::post('/update/languages/', 'LanguagesController@update'); Route::get('/remove/languages/{fileNo?}/{langid?}', 'LanguagesController@destroy'); Route::get('/profile/languages/report/{fileNo?}', 'LanguagesController@report'); // Details of service in the force Route::get('/update/detail-service/{fileNo?}', 'DetailOfServiceController@index'); Route::post('/update/detailofservice/', 'DetailOfServiceController@update'); Route::get('/remove/detailofservice/{fileNo?}/{dosid?}', 'DetailOfServiceController@destroy'); Route::get('/update/detailofservice/view/{dosid?}', 'DetailOfServiceController@view'); Route::get('/profile/DetailsServiceForce/report/{fileNo?}', 'DetailOfServiceController@report'); // Details of previous public service Route::get('/update/detailofprevservice/{userId?}/{doppsid?}', 'DetailsOfPreviousServiceController@index'); Route::post('/update/detailofprevservice/', 'DetailsOfPreviousServiceController@update'); Route::get('/remove/detailofprevservice/{userId?}/{doppsid?}', 'DetailsOfPreviousServiceController@destroy'); Route::get('/profile/previous-service/report/{fileNo?}', 'DetailsOfPreviousServiceController@report'); //Education Route::get('/education/create/{fileNo?}', 'EducationController@index'); Route::get('/education/remove/{id?}', 'EducationController@delete'); Route::post('/education/create', 'EducationController@store'); Route::get('/education/edit/{id?}', 'EducationController@view'); Route::post('/education/edit', 'EducationController@update'); Route::get('/profile/education/report/{fileNo?}', 'EducationController@report'); //Record of Censures and Commendations Route::get('/commendations/create/{fileNo?}', 'CensureCommendationController@index'); Route::get('/commendations/remove/{id?}', 'CensureCommendationController@delete'); Route::post('/commendations/create', 'CensureCommendationController@store'); Route::get('/commendations/edit/{id?}', 'CensureCommendationController@view'); Route::post('/commendations/edit', 'CensureCommendationController@update'); Route::get('/profile/censures-commendations/report/{fileNo?}', 'CensureCommendationController@report'); //Record of Gratuity Payment Route::get('/gratuity/create/{fileNo?}', 'GratuityPaymentController@index'); Route::get('/gratuity/remove/{id?}', 'GratuityPaymentController@delete'); Route::post('/gratuity/create', 'GratuityPaymentController@store'); Route::get('/gratuity/edit/{id?}', 'GratuityPaymentController@view'); Route::post('/gratuity/edit', 'GratuityPaymentController@update'); Route::get('/profile/gratuity/report/{fileNo?}', 'GratuityPaymentController@report'); // Termination of service Route::get('/update/termination/{userId?}', 'TerminationOfServiceController@index'); Route::post('/update/termination/', 'TerminationOfServiceController@update'); Route::get('/remove/termination/{userId?}/{terminateID?}', 'TerminationOfServiceController@destroy'); Route::post('/getRecords', 'TerminationOfServiceController@getRecord'); Route::post('/edit/termination/', 'TerminationOfServiceController@editRecords'); Route::post('/modify/termination/', 'TerminationOfServiceController@modifyRecords'); Route::get('/profile/termination-of-service/report/{fileNo?}', 'TerminationOfServiceController@report'); // Tour and Leave routes Route::get('/update/tour-leave-record/{userId?}', 'TourLeaveRecordController@index'); Route::post('/update/tour-leave-record/', 'TourLeaveRecordController@update'); Route::get('/remove/tour-leave-record/{userId?}/{tourLeaveID?}', 'TourLeaveRecordController@destroy'); Route::get('/profile/tour-leave/report/{fileNo?}', 'TourLeaveRecordController@report'); // Record of service Route::get('/update/recordofservice/{userId?}/{recID?}', 'RecordOfServiceController@index'); Route::post('/update/recordofservice/', 'RecordOfServiceController@update'); Route::get('/remove/detailofservice/{userId?}/{dosid?}', 'RecordOfServiceController@destroy'); Route::get('/profile/record-service/report/{fileNo?}', 'RecordOfServiceController@report'); // Record of Emolument Route::get('/update/recordofemolument/{userId?}/{emolumentID?}', 'RecordOfEmolumentsController@index'); Route::post('/update/recordofemolument/', 'RecordOfEmolumentsController@update'); Route::get('/remove/detailofservice/{userId?}/{dosid?}', 'RecordOfEmolumentsController@destroy'); Route::get('/profile/record-emolument/report/{fileNo?}', 'RecordOfEmolumentsController@report'); // OPEN REGISTRY //create new staff Route::get('/new-staff/create', 'OpenRegistryController@NEW_STAFF'); Route::post('/new-staff/store', 'OpenRegistryController@store_NEW_STAFF'); Route::post('/staff-report/view', 'OpenRegistryController@filter_staff'); Route::get('/staff-report/view', 'OpenRegistryController@listAll'); Route::get('/staff/search/json/{q?}', 'OpenRegistryController@autocomplete_STAFF'); Route::post('/new-staff/getcourt', 'OpenRegistryController@getCourt'); Route::post('/new-staff/getdepartments', 'OpenRegistryController@getDepartments'); Route::post('/new-staff/getdesignations', 'OpenRegistryController@getDesignations'); Route::get('/openregistry/create/', 'OpenRegistryController@indexview'); Route::post('/data/searchUser/showAll', 'OpenRegistryController@showAll'); Route::get('/data/searchUser/{q?}', 'OpenRegistryController@autocomplete'); Route::post('/data/store/', 'OpenRegistryController@store'); Route::post('/data/personalFileData', 'OpenRegistryController@personalFileData'); Route::get('/remove/openregistry/{userId?}', 'OpenRegistryController@destroy'); Route::post('/create/openregistry', 'OpenRegistryController@create'); Route::get('/openregistry/list', 'OpenRegistryController@index'); Route::get('/openregistry/edit/{pfrID?}', 'OpenRegistryController@edit'); Route::get('/openregistry/editout/{pfrID?}', 'OpenRegistryController@edit'); Route::post('/openregistry/update/', 'OpenRegistryController@update'); //START EDITING STAFF PROFILE LINKS// //Bio-Data Route::get('/profile/details/{ID?}/{fileNo?}', 'EditStaffProfileController@viewEditBioData'); Route::get('/profile/details/{fileNo?}', 'EditStaffProfileController@details'); //Education Route::get('/profile/details/{ID?}/{fileNo?}', 'EditStaffProfileController@viewEditBioData'); ////ENDS HERE/// //handling privileges to all users except CPO and Tax Staff Route::group(['middleware' => ['role:admin|salary supervisor|salary staff|audit staff|super admin|salary collator|nhf staff']], function() { //Bank Route::get('/bank/create', 'BankController@create'); Route::post('/bank/store', 'BankController@store'); Route::post('/bank/findBank', 'BankController@findBank'); //Inactive staff Route::get('/inactivestaff', 'InactiveStaffController@loadView'); Route::post('/inactivestaff/report', 'InactiveStaffController@loadReport'); //Picture Viewer Route::get('/pictureViewer', 'PictureViewerController@loadView'); Route::post('/pictureViewer/report', 'PictureViewerController@loadReport'); Route::post('/pictureViewer/create', 'PictureViewerController@store'); Route::post('/pictureViewer/findStaff', 'PictureViewerController@findStaff'); }); //handling privileges to all users except CPO, audit and Tax Staff Route::group(['middleware' => ['role:admin|salary supervisor|salary staff|super admin']], function() { //SearchUser Route::get('/searchUser/create', 'SearchUserController@create'); Route::post('/searchUser/create', 'SearchUserController@retrieve'); Route::get('/searchUser/{q?}', 'SearchUserController@autocomplete'); //staff status Route::get('/staffStatus', 'StaffStatusController@loadView'); Route::get('/staffStatus/pending', 'StaffStatusController@loadPending'); Route::post('/staffStatus/update', 'StaffStatusController@update'); Route::post('/staffStatus/findStaff', 'StaffStatusController@findStaff'); Route::post('/approve', 'StaffStatusController@getApprove'); }); //handling admin and staff supervisor for active month priveledges Route::group(['middleware' => ['role:admin|salary supervisor|super admin']], function() { //set active month Route::get('/activeMonth/create', 'ActiveMonthController@create'); Route::post('/activeMonth/create', 'ActiveMonthController@store'); }); //handling admin priveledges Route::group(['middleware' => ['role:admin|super admin']], function() { //Classification Route::get('/classcode/create', 'ClassificationController@create'); Route::post('/classcode/store', 'ClassificationController@store'); Route::get('/classcode/{findData}', 'ClassificationController@findData'); Route::post('/storeupdate', 'ClassificationController@update'); //Division Route::get('/division/create','DivisionController@create'); Route::post('/division/store','DivisionController@store'); Route::get('/division/destroy/{id?}','DivisionController@destroy'); //Bank List Route::get('/role/create', 'RoleController@create'); Route::post('/role/create', 'RoleController@store'); //Account lock Route::get('/account/lock-all', 'AccountLockController@lockAll'); Route::post('/account/lock-all', 'AccountLockController@lockAllStore'); Route::get('/account/unlock', 'AccountLockController@unlockOne'); Route::post('/account/unlock', 'AccountLockController@unlockOneStore'); }); //additlog search Route::get('/auditlog/search', 'AuditLogController@viewLog'); Route::post('/auditlog/search', 'AuditLogController@searchLog'); //handling super admin priveledges Route::group(['middleware' => ['role:super admin']], function() { //audit log Route::get('/auditLog/create', 'AuditLogController@create'); Route::post('/auditLog/create', 'AuditLogController@userDetails'); Route::post('/auditLog/query', 'AuditLogController@userQuery'); Route::post('/auditLog/finduser', 'AuditLogController@finduser'); //additlog search Route::get('/role/userRole', 'RoleController@userRoleCreate'); Route::post('/role/userRole', 'RoleController@userRoleStore'); //viewing all user Route::get('/role/viewUser', 'RoleController@index'); //removing role from a specific user Route::get('/role/{id}/user/{userid}', 'RoleController@destroy'); //viewing role for each user Route::get('/role/viewUser/{id}', 'RoleController@retrieve'); //For PERMISSION configuration using get and POST Route::get('/permission/create', 'PermissionController@index'); Route::post('/permission/create', 'PermissionController@store'); Route::get('/permission/permRole', 'PermissionController@PermRoleCreate'); Route::post('/permission/permRole', 'PermissionController@PermRoleStore'); }); //File upload routes Route::get('/documents/upload', 'Uploader@documentsUpload')->name('uploader'); Route::post('/documents/upload', 'Uploader@uploadDocuments')->name('uploader_post'); Route::get('/documents/delete/{id}','Uploader@deleteDocument' ); Route::get('/documents/upload/admin', 'Uploader@adminUpload'); Route::post('/documents/upload/admin', 'Uploader@adminUploadDocument'); Route::get('/documents/view/user', 'Uploader@selectUserView'); Route::post('/documents/view/user', 'Uploader@findUserDocumentsById'); Route::get('/documents/fetch/{id}' , 'Uploader@getDocsByStaffId'); /// excel routes njc Route::post('/profile/save','ExcelController@store'); Route::get('/profile/upload','ExcelController@create'); Route::post('/profile/sendmail','ExcelController@sendMail'); Route::get('/profile/mail','ExcelController@mail'); Route::post('/login/details/export','ExcelController@ExportLoginDetails'); Route::get('/login/details/select','ExcelController@export'); //password Reset // offer of appointment Listing Route::get('/password/resets', 'PasswordAuthController@userForgetPassword'); Route::post('/password/resets', 'PasswordAuthController@userResetPassword'); Route::get('/promotion/update', 'PromotionController@GetPromotion'); Route::post('/promotion/update', 'PromotionController@PostPromotion'); Route::get('/self-promotion/update', 'PromotionSelfController@GetPromotion'); Route::post('/self-promotion/update', 'PromotionSelfController@PostPromotion'); //Basic parameter Route::post('/basic/section', 'BasicParameterController@postDepartment'); Route::get('/basic/section', 'BasicParameterController@getDepartment'); Route::post('/basic/division', 'BasicParameterController@Divisionsetup'); Route::get('/basic/division', 'BasicParameterController@Divisionsetup'); Route::post('/basic/designation', 'BasicParameterController@ControlVariable'); Route::get('/basic/designation', 'BasicParameterController@ControlVariable'); Route::post('basic/designation/edit', 'BasicParameterController@updateDesignation'); Route::post('basic/designation/delete', 'BasicParameterController@deletePost'); Route::post('basic/rank-designation', 'BasicParameterController@UpdateRankDesignation'); Route::get('basic/rank-designation', 'BasicParameterController@UpdateRankDesignation'); //dependant parameter Route::post('/staff/dependant', 'DependantController@postDependant'); Route::get('/staff/dependant', 'DependantController@getDependant'); //user function Route::get('/function/create', 'function_setup\FunctionController@create'); Route::post('/function/add', 'function_setup\FunctionController@addFunction'); Route::get('/function/viewmodules', 'function_setup\FunctionController@displayFunction'); Route::get('/function/edit/{functionID}', 'function_setup\FunctionController@editFunction'); Route::post('/function/update', 'function_setup\FunctionController@updateFunction'); Route::post('/function/modify', 'function_setup\FunctionController@edit'); //sub functions Route::get('/sub-function/create', 'function_setup\SubFunctionController@create'); Route::post('/sub-function/add', 'function_setup\SubFunctionController@addSubFunction'); Route::get('/sub-function/view-sub-modules', 'function_setup\SubFunctionController@displaySubFunction'); Route::get('/sub-function/edit/{subfunctionID}', 'function_setup\SubFunctionController@editSubFunction'); Route::post('/sub-function/update', 'function_setup\SubFunctionController@updateSubFunction'); Route::post('/sub-function/modify', 'function_setup\SubFunctionController@edit'); Route::post('/sub-function/setsession', 'function_setup\SubFunctionController@sessionset'); //Assign functions Route::get('/assign-function/create', 'function_setup\AssignFunctionRoleController@create'); // Route::post('/role/setsession', 'function_setup\AssignFunctionRoleController@sessionset'); Route::post('/assign-function/assign', 'function_setup\AssignFunctionRoleController@assignSubFunction'); Route::get('/assign-function/view-sub-modules', 'function_setup\AssignFunctionRoleController@displaySubFunction'); Route::get('/assign-function/edit/{submoduleID}', 'function_setup\AssignFunctionRoleController@editSubModule'); Route::post('/assign-function/update', 'function_setup\AssignFunctionRoleController@updateSubFunction'); //company information Route::get('/company/info', 'BasicParameterController@companyInfo'); Route::post('/company/info', 'BasicParameterController@companyInfo'); //Add Court Route::get('court/add-court', 'AddCourtController@index'); Route::post('court/add-court/insert', 'AddCourtController@store'); Route::post('court/add-court/update', 'AddCourtController@update'); Route::get('court/add-court/delete{id}', 'AddCourtController@destroy'); //bank set up Route::post('/session/court', 'BankController@sessionset'); //PRIVILEDGES //Create Technical User Route::get('/technical/create', 'MasterRolePermission\CreateTechnicalUserController@create')->name('createTechnicalUser'); Route::Post('/technical/create', 'MasterRolePermission\CreateTechnicalUserController@store')->name('createTechnicalUser'); //user roles Route::get('/user-role/create', 'MasterRolePermission\UserRoleController@create')->name('CreateUserRole'); Route::post('/user-role/add', 'MasterRolePermission\UserRoleController@addRole'); Route::get('/user-role/viewroles', 'MasterRolePermission\UserRoleController@displayRoles')->name('AllRole'); Route::get('/user-role/edit/{roleID}', 'MasterRolePermission\UserRoleController@editRole')->name('EditRole'); Route::post('/user-role/update/', 'MasterRolePermission\UserRoleController@updateRole'); //user modules Route::get('/module/create', 'MasterRolePermission\ModuleController@create')->name('CreateModule'); Route::post('/module/add', 'MasterRolePermission\ModuleController@addModule'); Route::get('/module/viewmodules', 'MasterRolePermission\ModuleController@displayModules')->name('AllModule'); Route::get('/module/edit/{moduleID}', 'MasterRolePermission\ModuleController@editModule')->name('EditModule'); Route::post('/module/update', 'MasterRolePermission\ModuleController@updateModule'); Route::post('/module/modify', 'MasterRolePermission\ModuleController@edit'); //sub modules Route::get('/sub-module/create', 'MasterRolePermission\SubModuleController@create')->name('createSubModule'); Route::post('/sub-module/add', 'MasterRolePermission\SubModuleController@addSubModule'); Route::get('/sub-module/view-sub-modules', 'MasterRolePermission\SubModuleController@displaySubModules')->name('AllSubModule'); Route::get('/sub-module/edit/{submoduleID}', 'MasterRolePermission\SubModuleController@editSubModule')->name('editSubModule'); Route::post('/sub-module/update', 'MasterRolePermission\SubModuleController@updateSubModule'); Route::post('/sub-module/delete', 'MasterRolePermission\SubModuleController@deleteSubModule'); Route::post('/module/setsession', 'MasterRolePermission\SubModuleController@sessionset'); Route::post('/submodule/modify/', 'MasterRolePermission\SubModuleController@edit'); //Assign modules Route::get('/assign-module/create', 'MasterRolePermission\AssignModuleRoleController@create')->name('AssignModule'); Route::post('/role/setsession', 'MasterRolePermission\AssignModuleRoleController@sessionset'); Route::post('/assign-module/assign', 'MasterRolePermission\AssignModuleRoleController@assignSubModule'); Route::get('/assign-module/view-sub-modules', 'MasterRolePermission\AssignModuleRoleController@displaySubModules')->name('ViewAssignSubModule'); Route::get('/assign-module/edit/{submoduleID}', 'MasterRolePermission\AssignModuleRoleController@editSubModule')->name('EditAssignSubModule'); Route::post('/assign-module/update', 'MasterRolePermission\AssignModuleRoleController@updateSubModule'); //Assign Users Route::get('/user-assign/create', 'MasterRolePermission\AssignUserRoleController@create')->name('AssignUser'); Route::get('/user-assign/edit/{id?}', 'MasterRolePermission\AssignUserRoleController@editUsreAssign')->name('editAssignUser'); Route::post('/user-assign/assign', 'MasterRolePermission\AssignUserRoleController@assignUser'); Route::post('/user/display', 'MasterRolePermission\AssignUserRoleController@displayUser'); Route::get('/user/search/{q?}', 'MasterRolePermission\AssignUserRoleController@autocomplete'); //LGA covered Route::get('/lga/covered', 'LgaCoveredController@index'); Route::post('/lga/covered', 'LgaCoveredController@getLgaState'); Route::get('/clear-all', 'LgaCoveredController@clear'); Route::post('lga/covered/add','LgaCoveredController@store'); Route::get('lga/covered/remove/{lgaId}','LgaCoveredController@destroy'); Route::post('lga/covered/edit','LgaCoveredController@update'); //compute All Route::post('/court/getActiveMonth', 'ComputeController@getActiveMonth'); Route::post('/court/getDivisions', 'ComputeController@getDivisions'); Route::post('/court/getStaff', 'ComputeController@getStaff'); Route::post('/over-under-pay/compute', 'ComputeProcessorController@payment'); //Payroll Report Route::post('/payrollReport/getBank', 'PayrollReportController@getBank'); //Add Title Route::get('/title', 'AddTitleController@index'); Route::get('/title/remove/{ID}/{title}', 'AddTitleController@destroy'); Route::post('/title/update', 'AddTitleController@update'); Route::post('/title/add', 'AddTitleController@store'); //Company Profile Route::get('/company-profile', 'CompanyProfileController@index'); Route::post('/company-profile/update', 'CompanyProfileController@update'); //Routes to create contractor Route::get('/contractor/create', 'ContractorController@index'); Route::post('/contractor/create', 'ContractorController@index'); //Routes to list of contractor Route::get('/contractor/list', 'ContractorListController@index'); Route::post('/contractor/list', 'ContractorListController@index'); //Routes to create allocation Route::get('/allocation', 'AllocationController@index'); Route::post('/allocation', 'AllocationController@index'); Route::get('/allocation/approval', 'AllocationApprovalController@index'); Route::post('/allocation/approval', 'AllocationApprovalController@index'); Route::get('/allocation/monthly', 'MonthlyAllocationController@index'); Route::post('/allocation/monthly', 'MonthlyAllocationController@index'); Route::get('/allocation/totalmonthly', 'ReportsController@TotalMonthlyAllocation'); Route::post('/allocation/totalmonthly', 'ReportsController@TotalMonthlyAllocation'); Route::get('/beneficiary/voucher', 'BeneficiaryVoucherController@index'); Route::post('/beneficiary/voucher', 'BeneficiaryVoucherController@index'); Route::any('/allocation/lend-borrow', 'VoteManagement@LendingBorrow'); Route::any('/allocation/lend-borrow-report', 'VoteManagement@LendingBorrowReport'); Route::any('/allocation/unesttled-lend-borrow-report', 'VoteManagement@UnsettledLendingBorrowReport'); // create bank Route::get('/banklist/create', 'BankListController@create'); Route::post('/banklist/store', 'BankListController@store'); Route::get('/banklist/remove/{bankID?}', 'BankListController@delete'); //Economic Head Route::get('/economic-head/create', 'EconomicHeadController@index'); Route::post('/economic-head/create', 'EconomicHeadController@index'); //Economic Code Route::get('/economic-code', 'EconomicCodeController@index'); Route::post('/economic-code', 'EconomicCodeController@reload'); Route::post('/economic-code/save', 'EconomicCodeController@store'); Route::get('/economic-code/{ID}', 'EconomicCodeController@destroy'); Route::post('/economic-code/update', 'EconomicCodeController@update'); //Reports Route::get('/report/transactions', 'TransactionsController@index'); Route::post('/report/transactions', 'TransactionsController@index'); //vote Transaction Route::any('/report/vote-trans', 'ReportsController@VoultTransReport'); Route::get('/report/voults', 'ReportsController@VoultBalanceReport'); Route::post('/report/voults', 'ReportsController@VoultBalanceReport'); //Monthly vault ballance Route::get('/report/voults/monthly', 'ReportsController@MonthlyVoultBalanceReport'); Route::post('/report/voults/monthly', 'ReportsController@MonthlyVoultBalanceReport'); //View Daily, Weekly, Monthly and Yearly Expenditure Report Route::get('/report/expenditure-balances-break-down', 'ReportsController@ExpenditureBalanceReportAtAnyTime')->name('ExpenditureBalanceReport'); Route::post('/report/expenditure-balances-break-down', 'ReportsController@ExpenditureBalanceReportAtAnyTime')->name('PostExpenditureBalanceReport'); // //VOTE BOOK Route::get('/report/vote-book-break-down', 'VoteBookController@createVoteBook')->name('CreateVoteBook'); Route::post('/report/vote-book-break-down', 'VoteBookController@createVoteBook')->name('PostVoteBook'); Route::any('/report/vote/expenditure', 'ReportsController@VoultExpendictureReport'); Route::any('/report/range/expenditure', 'ReportsController@RangeExpenditureReport'); //Contractor Record Route::get('/contractor-record', 'ContractorRecordController@index'); Route::post('/contractor-record', 'ContractorRecordController@show'); Route::get('/contractor-record/view/{ContID}', 'ContractorRecordController@view'); //VAT And WHT Payee Route::get('/vat-wht-payee', 'VatwhtpayeeController@index')->name('indexWhtVat'); Route::post('/vat-wht-payee', 'VatwhtpayeeController@store'); Route::get('/vat-wht-payee/delete/{lol}', 'VatwhtpayeeController@destroy'); Route::post('/vat-wht-payee/update', 'VatwhtpayeeController@update'); //Start payee edit route Route::get('/edit-vat-wht-for-payee/{payeeID?}', 'VatwhtpayeeController@editPayee'); Route::post('/edit-vat-wht-for-payee/{payeeID?}', 'VatwhtpayeeController@editPayee'); //Active year Route::get('/active-year', 'ActiveYearController@index'); Route::post('/active-year', 'ActiveYearController@store'); Route::get('/active-year/delete/{ID}', 'ActiveYearController@destroy'); //voucher Display Route::get('/display/voucher/{id}/{printable?}', 'VoucherDisplayController@viewVoucher'); Route::get('/display/comment/{id}', 'CommentDisplayController@viewComment'); Route::any('/change/ecoid/{id}', 'VoteChangeController@ecoChange'); //View Retire Voucher Route::get('/display/retire/voucher/{id}', 'VoucherDisplayController@viewRetireVoucher'); //cpo Route::get('/cpo/report', 'CPOController@auditVouchers'); Route::post('/cpo/report', 'CPOController@updateSelected'); Route::get('/cpo/generated', 'CPOController@payGenerated'); Route::get('/cpo/restore', 'CPOController@payRestore'); Route::post('/cpo/restore', 'CPOController@postRestore'); Route::get('/staff/pay-list/{id}', 'CPOController@staffVoucherList'); Route::post('/cpo/confirm', 'CPOController@confirm'); Route::get('/cpo/epayment', 'CPOController@epayment'); Route::get('/cpo/batch', 'CPOController@batchNo'); Route::post('/cpo/epayment', 'CPOController@postBatch'); Route::get('/view/batch/{id}', 'CPOController@viewBatch'); Route::post('/cpo/reject', 'CPOController@cpoReject'); Route::get('/batch/search', 'CPOController@batch'); Route::post('/batch/search', 'CPOController@postBatch'); Route::get('/staff-claim' ,'StaffClaimController@index')->name('staffindex'); Route::post('/staff-claim' ,'StaffClaimController@sendClaim')->name('claimSend'); Route::get('/claim-review' ,'StaffClaimController@claimReview')->name('claimReview'); Route::get('/claim-approve/{id}' ,'StaffClaimController@approveClaim')->name('approveClaim'); Route::get('/claim-deny/{id}' ,'StaffClaimController@denyClaim')->name('denyClaim'); Route::post('/edit-amount' ,'StaffClaimController@editAmount')->name('editAmount'); Route::post('/session/set', 'CreateContractVoucherController@setSes'); //mandate Approval Route::get('/ca/mandate', 'MandateApprovalProcessController@CAMandate'); Route::post('/ca/mandate', 'MandateApprovalProcessController@CAComment'); Route::get('/dd/mandate', 'MandateApprovalProcessController@DDMandate'); Route::post('/dd/mandate', 'MandateApprovalProcessController@DDComment'); Route::get('/df/mandate', 'MandateApprovalProcessController@DFMandate'); Route::post('/df/mandate', 'MandateApprovalProcessController@DFComment'); //day ledger book Route::get('/daybook/view-book', 'DayBookLedgerController@dayBook'); Route::post('/daybook/view-book', 'DayBookLedgerController@postDayBook'); Route::get('/ledger/view', 'DayBookLedgerController@ledger'); Route::post('/ledger/view', 'DayBookLedgerController@postLedger'); //NJC- creating new contract from procurement Route::get('/create-procurement', 'ProcurementContractController@create')->name('loadProcurement'); Route::get('/view-all-contract', 'ProcurementContractController@viewAllContract')->name('startProcess'); Route::post('/create-procurement', 'ProcurementContractController@save')->name('saveProcurement'); Route::get('/create-new-contract-from-liability', 'ProcurementContractController@newLiabilityContract')->name('liabilityContract'); Route::post('/create-from-procurement', 'ProcurementContractController@saveContractLiability')->name('saveOtherContract'); Route::post('/upload-contract-attach-files', 'ProcurementContractController@attachNewFileForContract')->name('uploadContractFile'); Route::post('/edit-contract-information-post-json', 'ProcurementContractController@editContract')->name('editContract'); Route::post('/process-contract-post-json', 'ProcurementContractController@processContract')->name('editContract'); Route::post('/get-all-economic-code', 'ProcurementContractController@fetchEconomicCode'); Route::post('/set-session-director-post-json', 'ProcurementContractController@setSessionByDirector'); Route::post('/remove-contract-attached-file', 'ProcurementContractController@deleteAttachedFile'); Route::post('/get-all-comment-for-all', 'ProcurementContractController@getAllComment'); Route::post('/get-liability-contract-details', 'ProcurementContractController@getUnpaidContractDetail'); Route::post('/get-unpaid-amount-only', 'ProcurementContractController@getUnpaidBalance'); Route::post('/get-contract-economic-details', 'ProcurementContractController@getPreviousLiabilityEconomicDetails'); Route::get('/is-user-head-of-expenditure-control', 'ProcurementContractController@isUserHEC'); Route::post('/get-real-balance-json-economicCode', 'ProcurementContractController@getBalance'); Route::get('/viewing-all-contracts', 'ProcurementContractController@getAllContractWithDetails'); // //NJC Reconciliation Report Route::get('/refunds-entry-for-treasury', 'ReconciliationNjcController@index')->name('createRefunds'); Route::post('/refunds-entry-for-treasury', 'ReconciliationNjcController@postRefunds')->name('PostCreateRefunds'); Route::get('/create-treasury-report', 'ReconciliationNjcController@createTreasuryReport')->name('treasuryReport'); Route::post('/create-treasury-report', 'ReconciliationNjcController@postReport')->name('postTreasuryReport'); Route::get('/treasury-cash-book-report', 'ReconciliationNjcController@viewReport')->name('viewTreasuryReport'); Route::post('/get-economic-code-for-refound', 'ReconciliationNjcController@fetchEconomicCode'); // Route::get('/account/type', 'AccountController@AccountType'); Route::post('/account/type', 'AccountController@AccountType'); Route::get('/account/ledger', 'AccountController@AccounLedger'); Route::post('/account/ledger', 'AccountController@AccounLedger'); //staff unit Route::get('/staff/unit', 'UnitsController@index'); Route::post('/staff/unit', 'UnitsController@store'); //Staff information Route::get('update-staff-information', 'StaffInformationSetUpController@home')->name('staffInfo'); Route::post('update-staff-information', 'StaffInformationSetUpController@store')->name('processStaffInfo'); Route::post('update-staff-details', 'StaffInformationSetUpController@update')->name('processStaffInfoUpdate'); Route::get('update-staff-details', 'StaffInformationSetUpController@home'); //staff designation Route::get('staff/designation', 'StaffDesignationController@displayForm'); Route::post('user/assign-designation', 'StaffDesignationController@assignDesignation'); Route::get('user/delete', 'StaffDesignationController@deleteDesignation'); //tax matter description Route::get('tax-matters/description/add', 'TaxMatterDescription@displayTaxDescriptionForm'); Route::post('tax-matters/description/add', 'TaxMatterDescription@addTaxDesc')->name('add-tax-matters'); Route::post('tax-matters/description/delete', 'TaxMatterDescription@deleteTaxDesc')->name('delete-tax-matters'); Route::post('tax-matters/description/update', 'TaxMatterDescription@updateTaxDesc')->name('update-tax-matters'); Route::get('tax-matters/description/disable/{id}', 'TaxMatterDescription@disableTaxDesc'); Route::get('tax-matters/description/enable/{id}', 'TaxMatterDescription@enableTaxDesc'); //NICN MODULES ROUTE //RECURRENT Voucher //copy voucher Route::post('/copy-voucher', 'NicnModulesController\CapitalRecurrentController@copyVoucher'); Route::get('/copy-voucher', 'LiabilityController@check'); Route::get('/CR/voucher/contract/create', 'NicnModulesController\CapitalRecurrentController@createContractVoucher'); Route::post('/CR/voucher/contract/create', 'NicnModulesController\CapitalRecurrentController@storeJournal'); Route::get('/staff/division/select', 'NicnModulesController\CapitalRecurrentController@allStaffListDB'); Route::post('/staff/division/select', 'NicnModulesController\CapitalRecurrentController@allStaffListDBPost'); Route::get('/voucher/view', 'NicnModulesController\CapitalRecurrentController@listVoucher'); Route::post('/voucher/view', 'NicnModulesController\CapitalRecurrentController@listVoucher_POST'); Route::post('/recurrent/update/voucher', 'NicnModulesController\CapitalRecurrentController@updateVoucher'); Route::post('/recurrent/replicate/voucher', 'NicnModulesController\CapitalRecurrentController@replicateVoucher'); Route::get('/print/voucher/{transactionID?}', 'NicnModulesController\CapitalRecurrentController@viewVoucher'); Route::get('/recurrent/print/voucher/{transactionID?}', 'NicnModulesController\CapitalRecurrentController@viewVoucher'); Route::post('/recurrent/get-payee-name-and-naration-JSON', 'NicnModulesController\CapitalRecurrentController@getPayeeNarration'); //Create Staff Voucher Route::get('/recurrent-create-staff-voucher', 'NicnModulesController\CapitalRecurrentController@createStaffNormalVoucher')->name('createStaffRecurrentVoucher'); Route::post('/recurrent-create-staff-voucher', 'NicnModulesController\CapitalRecurrentController@storeStaffVoucherRecurrent')->name('storeStaffVoucherRecurrent'); Route::get('/recurrent-add-selected-staff-to-voucher', 'NicnModulesController\CapitalRecurrentController@createStaffNormalVoucher'); Route::post('/recurrent-add-selected-staff-to-voucher', 'NicnModulesController\CapitalRecurrentController@addSelectedStaff')->name('addSelectedStaffRecurrent'); //change Division for staff voucher Route::get('/recurrent/staff-voucher-change-division', 'NicnModulesController\CapitalRecurrentController@createStaffNormalVoucher'); Route::post('/recurrent/staff-voucher-change-division', 'NicnModulesController\CapitalRecurrentController@changeDivisionStaffVoucher')->name('changeStaffDivisionRecurrent'); // Route::post('/recurrent/update/partpayment/voucher', 'NicnModulesController\CapitalRecurrentController@storePartPayment'); Route::get('/recurrent/all-partpayment/voucher/{transactionID?}', 'NicnModulesController\CapitalRecurrentController@viewAllPartPayment')->name('partPayment'); Route::post('/recurrent/view/beneficiary/part-partment', 'NicnModulesController\CapitalRecurrentController@revertPartPaymentPaid'); Route::get('/recurrent/view/beneficiary/part-partment', 'NicnModulesController\CapitalRecurrentController@viewAllBeneficiaryPartPayment')->name('viewPartPayment'); // Route::post('/recurrent/staff/add-to-list/voucher', 'NicnModulesController\CapitalRecurrentController@addNewStaffToListVoucher'); Route::post('/recurrent/update/voucher-amount', 'NicnModulesController\CapitalRecurrentController@updateVoucherAmountInStaffList'); Route::post('/staff-list/voucher/delete/JSON', 'NicnModulesController\CapitalRecurrentController@deleteStaffFromListJSON'); Route::post('/recurrent/update/bank-details-JSON', 'NicnModulesController\CapitalRecurrentController@updateBankDetailsFromVoucherStaffList'); //Vat and Wht Address Route::get('/vat/address/{vatID?}', 'NicnModulesController\ParentController@getVatAddress'); Route::get('/wht/address/{WhtID?}', 'NicnModulesController\ParentController@getWhtAddress'); //Create Batch Staff Voucher Route::get('/create-batch-staff-voucher', 'NicnModulesController\CapitalRecurrentController@createStaffBatchVoucher')->name('createBatchStaffVoucherRecurrent'); Route::post('/process-batch-staff-voucher', 'NicnModulesController\CapitalRecurrentController@postStaffBatchVoucher')->name('processBatchSatffVoucher'); Route::post('/staff/voucher/change-division', 'NicnModulesController\CapitalRecurrentController@changeDivisionStaffVoucher'); Route::post('/post-save-batch-staff-voucher', 'NicnModulesController\CapitalRecurrentController@addSelectedBatchStaff')->name('addSelectedBatchStaff'); Route::post('/staff-voucher/update-parameter', 'NicnModulesController\CapitalRecurrentController@updateStaffVoucherParameter')->name('postParametersBatchStaff'); Route::get('/staff/search/json/{q?}', 'NicnModulesController\CapitalRecurrentController@autocomplete_STAFF'); //NOTE: ERROR IN ROUTE -Duplicate //Search Voucher by Voucher NUmber Route::get('/recurrent/search-voucher/voucherNumber', 'NicnModulesController\CapitalRecurrentController@listVoucher'); Route::post('/recurrent/search-voucher/voucherNumber', 'NicnModulesController\CapitalRecurrentController@searchByVoucherNumberRecurrent'); //CAPITAL Voucher Route::get('/capital/voucher/contract/create', 'NicnModulesController\CapitalController@createCapitalVoucher')->name('creareNewCapitalVoucher'); Route::post('/capital/voucher/contract/create', 'NicnModulesController\CapitalController@storeJournal')->name('postNewCapitalVoucher'); Route::get('/capital/voucher/view', 'NicnModulesController\CapitalController@listVoucher')->name('listAllCapitalVoucher'); Route::post('/capital/voucher/view', 'NicnModulesController\CapitalController@listVoucher_POST'); Route::get('/capital/print/voucher/{transactionID?}', 'NicnModulesController\CapitalController@viewVoucher'); Route::post('/capital/update/voucher', 'NicnModulesController\CapitalController@updateVoucher'); Route::post('/capital/update/partpayment/voucher', 'NicnModulesController\CapitalController@storePartPayment'); Route::get('/capital/all-partpayment/voucher/{transactionID?}', 'NicnModulesController\CapitalController@viewAllPartPayment'); Route::get('/capital/view/beneficiary/part-partment', 'NicnModulesController\CapitalController@viewAllBeneficiaryPartPayment'); //Search Voucher by Voucher NUmber Route::post('/capital/search-voucher/voucherNumber', 'NicnModulesController\CapitalController@searchByVoucherNumberCapital'); //SUB-ACCOUNT Voucher Route::get('/sub-account/voucher/create2', 'NicnModulesController\SubAccountController@createSubAccountVoucher2')->name('createStaffVoucherSubAccount'); Route::get('/search-staff-from-db-voucher-JSON/{getQuery?}', 'NicnModulesController\SubAccountController@searchStaffFromDB'); Route::post('/add-staff-to-voucher-staff-list-JSON', 'NicnModulesController\SubAccountController@addStaffToVoucherStaffListSearch'); Route::get('/sub-account/voucher/create', 'NicnModulesController\SubAccountController@createSubAccountVoucher')->name('createStaffVoucherSubAccount'); Route::post('/sub-account/voucher/create', 'NicnModulesController\SubAccountController@storeStaffVoucher')->name('postStaffVoucherSubAccount'); Route::post('/sub-account/voucher/change-division', 'NicnModulesController\SubAccountController@createSubAccountVoucher'); Route::post('/sub-account/voucher/change-division', 'NicnModulesController\SubAccountController@changeDivisionStaffVoucher'); Route::post('/sub-account/process-selected-staff', 'NicnModulesController\SubAccountController@addSelectedStaff'); Route::post('/sub-account/voucher/view', 'NicnModulesController\SubAccountController@listVoucher_POST'); Route::get('/sub-account/voucher/view', 'NicnModulesController\SubAccountController@listVoucher')->name('ViewAllStaffVoucher'); Route::get('/sub-account/print/voucher/{transactionID?}', 'NicnModulesController\SubAccountController@viewVoucher'); Route::post('/sub-account/retire/voucher', 'NicnModulesController\SubAccountController@retireVoucher'); Route::post('/sub-account/update/voucher', 'NicnModulesController\SubAccountController@updateVoucher'); Route::post('/subaccount/staff/add-to-list/voucher', 'NicnModulesController\SubAccountController@addNewStaffToListVoucher'); Route::post('/subaccount/update/voucher-amount', 'NicnModulesController\SubAccountController@updateVoucherAmountInStaffList'); Route::get('/sub-account/staff/division/select', 'NicnModulesController\SubAccountController@allStaffListDB'); Route::post('/sub-account/staff/division/select', 'NicnModulesController\SubAccountController@allStaffListDBPost'); Route::post('/sub-account/update/bank-details-JSON', 'NicnModulesController\CapitalRecurrentController@updateBankDetailsFromVoucherStaffList'); //Search Voucher by Voucher NUmber Route::get('/sub-account/search-voucher/voucherNumber', 'NicnModulesController\SubAccountController@listVoucher'); Route::post('/sub-account/search-voucher/voucherNumber', 'NicnModulesController\SubAccountController@searchByVoucherNumberSubAccount'); //DELETE VOUCHER //Route::post('/subaccount/softdelete-voucher', 'NicnModulesController\SubAccountController@SoftDelete'); //Route::post('/capital/softdelete-voucher', 'NicnModulesController\CapitalController@SoftDelete'); Route::get('/recurrent/softdelete-voucher/{VoucherID?}', 'NicnModulesController\CapitalRecurrentController@SoftDelete'); //search allocation Route::post('/allocation/search', 'NicnModulesController\AllocationController@search'); Route::get('/allocation/search', 'NicnModulesController\AllocationController@getsearch'); //search transaction Voucher Route::post('/subaccount/retrieve-vourcher/result', 'NicnModulesController\SubAccountController@retrieveVourcher'); Route::get('/subaccount/retrieve-vourcher/{q?}', 'NicnModulesController\SubAccountController@autocompleteSearch'); //OTHER CHARGES ROUTE //Upload Report Head Route::get('/update-report-head-details', 'UpdateReportHeadController@createReportHead')->name('createReportHead'); Route::post('/update-report-head-details', 'UpdateReportHeadController@updateReportHead')->name('portReportHead'); //Update Payment Route::get('/update-payment-transaction', 'UpdatePaymentController@createPaymentKickOff')->name('createUpdatePayment'); Route::post('/relaod-payment-transaction', 'UpdatePaymentController@createPaymentKickOff'); Route::post('/update-payment-transaction', 'UpdatePaymentController@SavePaymentKickOff')->name('saveUpdatePayment'); Route::get('/getEconomicCodeJson/{contractTypeID}/{allocationTypeID}', 'BaseParentController@getEconomicCode'); Route::get('/create-edit-record/{ID}', 'UpdatePaymentController@edit')->name('editRecord'); Route::get('/cancel-edit-record', 'UpdatePaymentController@cancelEdit')->name('cancelUpdate'); Route::get('/remove-record/{ID}', 'UpdatePaymentController@removeRecord')->name('removeRecord'); //receiveed/voucher-for-commitment Route::get('receiveed/voucher-for-commitment', 'UpdatePaymentController@receivedVoucher'); Route::any('/vourcher-location', 'LiabilityController@VourcherLocation');; //accept or approve for process Route::any('/accept-voucher-for-process', 'LiabilityController@acceptOrApprove')->name('acceptVoucher'); Route::get('/accept-or-approve-voucher/{transID?}', 'LiabilityController@postAcceptOrApprove')->name('postAcceptVoucher'); Route::get('/disapprove-or-reject-voucher/{transID?}', 'LiabilityController@postRejectOrDisapprove')->name('postRejectVoucher'); //Vote transfer module Route::get('/payroll-merger', 'MergerController@index'); Route::post('/payroll-merger', 'MergerController@Merge'); //Staff pension list Route::get('/staff-pension', 'StaffPensionController@index'); Route::post('/staff-pension', 'StaffPensionController@Calculate'); ////////////// PAYMENT MANDATE//////////////////////////////// //E-payment Report Prerequisite Route::get('/report/e-payment', 'NicnModulesController\EpaymentReportController@index'); Route::post('/report/e-payment', 'NicnModulesController\EpaymentReportController@index_POST'); Route::get('/report/e-payment/softCopy', 'NicnModulesController\EpaymentReportController@viewSoftCopy'); Route::get('/report/e-payment-schedule', 'NicnModulesController\EpaymentReportController@index')->name('selectReport'); Route::post('/report/e-payment-schedule', 'NicnModulesController\EpaymentReportController@epaymentScheduletReport'); Route::get('/generate/company/e-payment', 'NicnModulesController\EpaymentReportController@generateEpayment'); Route::get('/report/export/e-payment/{epaymentID?}', 'NicnModulesController\EpaymentReportController@exportEpaymenScheduletReport'); Route::get('/report/softCopy', 'NicnModulesController\ReportController@Export'); Route::get('/report/details/{companysID?}', 'NicnModulesController\ReportController@details'); Route::get('/report/e-payment/archive', 'NicnModulesController\EpaymentReportController@archive_list'); Route::post('/restore/e-payment/archive', 'NicnModulesController\EpaymentReportController@archive_restore'); Route::get('/all/e-payment/archive', 'NicnModulesController\EpaymentReportController@E_payment_Archive')->name('listAllEpaymentArchive'); Route::post('/all/e-payment/archive', 'NicnModulesController\EpaymentReportController@E_payment_Archive_POST'); Route::post('/search/e-payment/archive', 'NicnModulesController\EpaymentReportController@E_payment_Archive_POST'); Route::post('/search/batch-e-payment/archive', 'NicnModulesController\EpaymentReportController@E_payment_Archive_BatchCode'); //export softcopy Route::get('/export/softcopy', 'NicnModulesController\EpaymentReportController@exportSoftcopy'); Route::post('/search/all-Epayment/archive', 'NicnModulesController\EpaymentReportController@SearchEpaymentArchive_voucher')->name('postSearchEpaymtArchive'); Route::post('/update/e-payment-details-JSON', 'NicnModulesController\EpaymentReportController@updateE_PaymentDetails'); Route::post('/update/staff-e-payment-details-JSON', 'NicnModulesController\EpaymentReportController@updateStaffE_PaymentDetails'); Route::get('/staff/report/e-payment/{transactionID?}', 'NicnModulesController\EpaymentReportController@indexStaffEPament'); Route::post('staff/report/e-payment-schedule', 'NicnModulesController\EpaymentReportController@staffEpaymentReportPost'); //Route::get('staff/report/e-payment-schedule', 'NicnModulesController\EpaymentReportController@staffEpaymentScheduletReport'); //Route::get('/staff/report/export/e-payment', 'NicnModulesController\EpaymentReportController@exportStaffEpaymenScheduletReport'); Route::get('archive-report-e-payment/{epaymentID?}', 'NicnModulesController\EpaymentReportController@archiveReportEpayment'); Route::get('archive/delete/e-payment/{epaymentID?}', 'NicnModulesController\EpaymentReportController@deleteEpaymentArchiveReport'); Route::post('/update/code-no-JSON', 'NicnModulesController\EpaymentReportController@updateE_PaymentCodeNo'); Route::post('/update/signatory-JSON', 'NicnModulesController\EpaymentReportController@updateSignatoryEPayment'); Route::post('/update-voucher-for-epayment-JSON', 'NicnModulesController\EpaymentReportController@updateVoucherForEPayment'); Route::post('/remove-record-from-epayment-JSON', 'NicnModulesController\EpaymentReportController@removeRecordFromEpayment'); //staff Route::get('/view-all-staff-attached-to-a-voucher/{transID}', 'NicnModulesController\EpaymentReportController@indexGenerateEpaymentStaff'); Route::post('/report/e-payment-schedule-staff', 'NicnModulesController\EpaymentReportController@epaymentScheduletReportStaff'); Route::get('/report/e-payment-schedule-staff', 'NicnModulesController\EpaymentReportController@index'); Route::post('/update-voucher-for-epayment-staff-JSON', 'NicnModulesController\EpaymentReportController@updateVoucherForEPaymentStaff'); //E-Payment Report Route::get('/generate-epayment-report', 'NicnModulesController\EpaymentReportController@indexGenerateEpayment')->name('generateEpayment'); Route::post('/generate-epayment-report', 'NicnModulesController\EpaymentReportController@postGenerateEpayment')->name('generateEpaymentpost'); Route::post('/search-for-committed-voucher', 'NicnModulesController\EpaymentReportController@searchCommittedVoucherPost')->name('searchCommittedV'); Route::post('/add-committed-voucher-to-list', 'NicnModulesController\EpaymentReportController@addSelectedVoucher')->name('addCommittedToList'); Route::post('/remove-voucher-from-schedule-JSON', 'NicnModulesController\EpaymentReportController@removeVoucherSchedule'); //Merge Voucher Route::post('/merge-voucher-json', 'NicnModulesController\EpaymentReportController@startMergeVoucher')->name('mergeVoucher'); Route::get('/view-all-merged-voucher', 'NicnModulesController\EpaymentReportController@viewAllMergedVoucher')->name('viewMergedVoucher'); Route::post('/view-all-merged-voucher-filter', 'NicnModulesController\EpaymentReportController@viewAllMergedVoucher_Filter')->name('filterMerge');; Route::post('/get-voucher-details-via-json', 'NicnModulesController\EpaymentReportController@getDetailForMergeVoucher'); Route::post('/get-voucher-sum-amount-via-json', 'NicnModulesController\EpaymentReportController@getSumAmountForMergeVoucher'); Route::post('/update-merged-voucher-by-Json', 'NicnModulesController\EpaymentReportController@updateMergedVoucher'); Route::post('/demerge-voucher-json', 'NicnModulesController\EpaymentReportController@deMergeVoucher')->name('deMergeVoucher'); Route::post('/post-merged-voucher-for-epayment', 'NicnModulesController\EpaymentReportController@epaymentScheduletReportMerge')->name('prepareMergeEpayment'); Route::get('/epayment-report-for-merged-voucher', 'NicnModulesController\EpaymentReportController@generateEpaymentMergeVoucher')->name('epaymentReportMerged'); Route::get('/epayment-report-merged-archive/{epaymentID?}', 'NicnModulesController\EpaymentReportController@generateEpaymentMergeVoucherFromArchive'); Route::get('/epayment/add-more-beneficiary/', 'NicnModulesController\EpaymentReportController@generateEpaymentMergeVoucher'); Route::post('/epayment-add-more-beneficiary', 'NicnModulesController\EpaymentReportController@startAddMoreBeneficiaryToCapitalVoucher'); //Mark Epayment as paid Route::post('/mark-epayment-transaction-as-paid', 'NicnModulesController\EpaymentReportController@markEpaymentAsPaid')->name('markAsPaid'); Route::get('/mark-epayment-transaction-as-paid', 'NicnModulesController\EpaymentReportController@E_payment_Archive'); //Retire Voucher Route::post('/retire-voucher', 'NicnModulesController\SubAccountController@retireVoucher')->name('retireNow'); Route::get('/retire-voucher', 'LiabilityController@check')->name('retireNow'); //CPO Rejects Voucher to Funds Route::get('/retire-voucher/{voucherID}', 'NicnModulesController\EpaymentReportController@cpoRejectsVoucherToFUnds')->name('cpoReject'); ////////////// END PAYMENT MANDATE//////////////////////////////// //Company Purchase Day Book Route::get('/company-purchase-day-book', 'CompanyPurchaseDayBook@createPurchaseDayBookPage')->name('createPurchaseDayBookPage'); Route::post('/company-purchase-day-book', 'CompanyPurchaseDayBook@processCompanyDayBook')->name('processPurchaseDayBookPage'); //Export Mandate Route::post('/export/mandate', 'NicnModulesController\EpaymentReportController@exportToExcel'); //TAX MATTER SECTION Route::get('/tax-matter-section-report', 'NicnModulesController\TaxMatterController@showTaxMatterReport')->name('viewTaxMatterReport'); Route::post('/tax-matter-section-report', 'NicnModulesController\TaxMatterController@postSearchReport'); Route::post('/update_tax_matter_report', 'NicnModulesController\TaxMatterController@postRecordUpdate'); Route::post('/revert_update_tax_matter_report', 'NicnModulesController\TaxMatterController@postRevertDescription'); Route::get('/export_tax_matter_report', 'NicnModulesController\TaxMatterController@exportRecordSoftcopy'); //UndateStaffAmountVoucher Route::post('/undate-staff-amount-voucher', 'NicnModulesController\CapitalRecurrentController@undateStaffAmountVoucher'); //Tax Matter Alternative Route::any('/tax-matter-report', 'TaxMatter@Index'); });