111 lines
6.4 KiB
PHP
111 lines
6.4 KiB
PHP
<?php
|
|
|
|
use CodeIgniter\Router\RouteCollection;
|
|
|
|
/**
|
|
* @var RouteCollection $routes
|
|
*/
|
|
|
|
$routes->post('/check_mail_config','BusinessController::check_mail_config');
|
|
|
|
$routes->get('/set_business_in_session/(:num)','StaffController::set_business_in_session/$1');
|
|
|
|
// $routes->get('/home','Home::index');
|
|
// $routes->post('/upload_1','Home::upload_1');
|
|
|
|
|
|
$routes->match(['get','post'],'/staff','StaffController::login');
|
|
$routes->get('/staff_logout','StaffController::staff_logout');
|
|
$routes->match(['get','post'],'/staff_list','StaffController::staff_list');
|
|
$routes->match(['get','post'],'/staff_edit','StaffController::staff_edit');
|
|
$routes->match(['get','post'],'/staff_profile','StaffController::staff_profile');
|
|
$routes->match(['get','post'],'/staff_create','StaffController::staff_create');
|
|
$routes->match(['get','post'],'/client_list','StaffController::client_list');
|
|
$routes->match(['get','post'],'/client_edit/(:any)','StaffController::client_edit/$1');
|
|
$routes->match(['get','post'],'/client_create','StaffController::client_create');
|
|
$routes->post("change_staff_password/(:any)", "StaffController::change_staff_password/$1");
|
|
$routes->match(['get','post'],'/forgot_password','StaffController::forgot_password');
|
|
$routes->match(['get','post'],'/verify_otp','StaffController::verify_otp');
|
|
$routes->match(['get','post'],'/change_password','StaffController::change_password');
|
|
$routes->post('status_staff','StaffController::status_staff');
|
|
$routes->post('staff_password_update','StaffController::staff_password_update');
|
|
$routes->get('business_view/(:any)','StaffController::business_view/$1');
|
|
|
|
|
|
|
|
$routes->match(['get','post'],'/','ClientController::login');
|
|
$routes->get('/client_logout','ClientController::client_logout');
|
|
$routes->match(['get','post'],'/client_profile','ClientController::client_profile');
|
|
$routes->post("change_client_password/(:any)", "ClientController::change_client_password/$1");
|
|
$routes->post('generate_otp','ClientController::generate_otp');
|
|
$routes->post('verify_otp_client','ClientController::verify_otp');
|
|
$routes->get('client_home','ClientController::client_home');
|
|
$routes->post('status_client','ClientController::status_client');
|
|
$routes->post('doc_rejection','ClientController::doc_rejection');
|
|
$routes->match(['get','post'],'/client_branch_list','ClientController::client_branch_list');
|
|
$routes->post('add_client_branch','ClientController::add_client_branch');
|
|
$routes->post('edit_client_branch','ClientController::edit_client_branch');
|
|
$routes->get('get_client_branch/(:any)','ClientController::get_client_branch/$1');
|
|
$routes->post('status_client_branch','ClientController::status_client_branch');
|
|
$routes->post('client_upload','ClientController::client_upload');
|
|
$routes->get('check_gst','ClientController::check_gst');
|
|
|
|
|
|
|
|
$routes->match(['get','post'],'/service_group_list','MasterController::service_group_list');
|
|
$routes->match(['get','post'],'/service_group_create','MasterController::service_group_create');
|
|
$routes->match(['get','post'],'/service_group_edit','MasterController::service_group_edit');
|
|
$routes->match(['get','post'],'/service_list','MasterController::service_list');
|
|
$routes->match(['get','post'],'/service_create','MasterController::service_create');
|
|
$routes->match(['get','post'],'/service_edit','MasterController::service_edit');
|
|
$routes->post('status_service','MasterController::status_service');
|
|
|
|
|
|
$routes->match(['get','post'],'/template_list','MasterController::template_list');
|
|
$routes->match(['get','post'],'/template_create','MasterController::template_create');
|
|
$routes->match(['get','post'],'/get_service_data','MasterController::get_service_data');
|
|
$routes->match(['get','post'],'/template_edit','MasterController::template_edit');
|
|
$routes->match(['get','post'],'/template_preview','MasterController::template_preview');
|
|
|
|
$routes->match(['get','post'],'/shared_docs_list','MasterController::shared_docs_list');
|
|
$routes->match(['get','post'],'/shared_doc_non_financial_year_to','MasterController::shared_doc_non_financial_year_to');
|
|
$routes->match(['get','post'],'/set_include_archived_session/(:any)','MasterController::set_include_archived_session/$1');
|
|
$routes->match(['get','post'],'/get_templates','MasterController::get_templates');
|
|
$routes->match(['get','post'],'/create_docs','MasterController::create_docs');
|
|
$routes->match(['get','post'],'/client_docs_preview','MasterController::client_docs_preview');
|
|
$routes->get('client_docs_histroy/(:any)','MasterController::client_docs_histroy/$1');
|
|
$routes->match(['get','post'],'/change_doc_status','MasterController::change_doc_status');
|
|
$routes->match(['get','post'],'/rememeber_notification','MasterController::rememeber_notification');
|
|
$routes->match(['get','post'],'/createSharedLink','MasterController::createSharedLink');
|
|
$routes->match(['get','post'],'/delete_doc','MasterController::delete_doc');
|
|
$routes->match(['get','post'],'/test','MasterController::test');
|
|
$routes->post('doc_generate_otp','MasterController::doc_generate_otp');
|
|
$routes->post('doc_verify_otp','MasterController::doc_verify_otp');
|
|
$routes->post('download_doc','MasterController::download_doc');
|
|
$routes->match(['get','post'],'shared_document_edit','MasterController::shared_document_edit');
|
|
|
|
|
|
|
|
$routes->get('business_list','BusinessController::business_list');
|
|
$routes->get('new_business/(:any)','BusinessController::new_business/$1');
|
|
$routes->post('add_business','BusinessController::add_business');
|
|
$routes->get('delete_business/(:any)','BusinessController::delete_business/$1');
|
|
$routes->get('get_business/(:any)','BusinessController::get_business/$1');
|
|
$routes->get('business','BusinessController::business');
|
|
$routes->post('business_edit','BusinessController::business_edit');
|
|
$routes->post('status_business','BusinessController::status_business');
|
|
|
|
|
|
$routes->get('branch_index','BranchController::branch_index');
|
|
$routes->get('new_business/(:any)','BranchController::new_business/$1');
|
|
$routes->get('get_branch/(:any)','BranchController::get_branch/$1');
|
|
$routes->post('edit_branch/(:any)','BranchController::edit_branch/$1');
|
|
$routes->post('add_branch','BranchController::new_branch');
|
|
$routes->post('branch_edit','BranchController::branch_edit');
|
|
$routes->post('status_branch','BranchController::status_branch');
|
|
|
|
|
|
$routes->get('sendSms','TestController::sendSms');
|
|
$routes->get('preview', 'TestController::protectedPage', ['filter' => 'signedUrl']);
|
|
$routes->get('sendUrl', 'TestController::sendUrl');
|
|
$routes->get('protectedPage', 'TestController::protectedPage'); |