From c909076371734ef020abedfcb6a1b593efc54931 Mon Sep 17 00:00:00 2001 From: "sanjeev.p" Date: Tue, 9 Dec 2025 15:18:51 +0530 Subject: [PATCH] API_route --- app/Config/Routes.php | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/app/Config/Routes.php b/app/Config/Routes.php index acc1075..fad46d7 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -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');