bb_sign/app/Config/Routes.php
2024-06-11 09:00:43 +05:30

84 lines
4.5 KiB
PHP

<?php
use CodeIgniter\Router\RouteCollection;
/**
* @var RouteCollection $routes
*/
$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','StaffController::client_edit');
$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->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->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->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'],'/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->match(['get','post'],'/change_doc_status','MasterController::change_doc_status');
$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->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->get('branch_index/(:any)','BranchController::branch_index/$1');
$routes->get('new_business/(:any)','BranchController::new_business/$1');
$routes->get('delete_branch/(:any)','BranchController::delete_branch/$1');
$routes->get('get_branch/(:any)','BranchController::get_branch/$1');
$routes->post('edit_branch/(:any)','BranchController::edit_branch/$1');
$routes->post('add_branch/(:any)','BranchController::new_branch/$1');
$routes->post('branch_edit','BranchController::branch_edit');