API_route

This commit is contained in:
sanjeev.p 2025-12-09 15:18:51 +05:30
parent 260d9fb3a9
commit c909076371

View File

@ -132,6 +132,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) {
$routes->get("dashboard/businessDashboard", "DashboardController::businessDashboard");
$routes->get("dashboard/partnerDashboard", "DashboardController::partnerDashboard");
$routes->get("dashboard/newDashboard", "DashboardController::newDashboard");
//invoice
$routes->get('invoice/list', 'InvoiceController::invoiceList');
@ -141,16 +142,25 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) {
$routes->post('invoice/commission-rate-list', 'InvoiceController::getCommissionRateList');
$routes->get('salesExecutive/executiveList', 'SalesExecutive::salesExecutiveList');
$routes->get('salesExecutive/findExecutive', 'SalesExecutive::findSalesExecutive');
$routes->post('salesExecutive/createExecutive', 'SalesExecutive::createSalesExecutive');
$routes->post('salesExecutive/updateExecutive', 'SalesExecutive::updateSalesExecutive');
$routes->post('salesExecutive/changeExecutiveStatus', 'SalesExecutive::changeSalesExecutiveStatus');
// $routes->get('salesExecutive/executiveList', 'SalesExecutive::salesExecutiveList');
// $routes->get('salesExecutive/findExecutive', 'SalesExecutive::findSalesExecutive');
// $routes->post('salesExecutive/createExecutive', 'SalesExecutive::createSalesExecutive');
// $routes->post('salesExecutive/updateExecutive', 'SalesExecutive::updateSalesExecutive');
// $routes->post('salesExecutive/changeExecutiveStatus', 'SalesExecutive::changeSalesExecutiveStatus');
});
$routes->get("dashboard/businessDashboard", "DashboardController::businessDashboard");
$routes->get("dashboard/partnerDashboard", "DashboardController::partnerDashboard");
$routes->get("dashboard/newDashboard", "DashboardController::newDashboard");
// $routes->get('agent/agentList', 'AgentController::agentList');
$routes->get('salesExecutive/executiveList', 'SalesExecutive::salesExecutiveList');
$routes->get('salesExecutive/findExecutive', 'SalesExecutive::findSalesExecutive');
$routes->post('salesExecutive/createExecutive', 'SalesExecutive::createSalesExecutive');
$routes->post('salesExecutive/updateExecutive', 'SalesExecutive::updateSalesExecutivedetails');
$routes->post('salesExecutive/changeExecutiveStatus', 'SalesExecutive::changeSalesExecutiveStatus');
$routes->cli('cli/processjob', 'JobWorker::processJob');
$routes->cli('cli/processjobs', 'JobWorker::processJobs');