diff --git a/app/Config/Routes.php b/app/Config/Routes.php index b0df65b..04d0819 100755 --- a/app/Config/Routes.php +++ b/app/Config/Routes.php @@ -168,7 +168,7 @@ $routes->group('api', ['filter' => 'appSignature'], function ($routes) { $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/updateExecutive', 'SalesExecutive::updateSalesExecutivedetails'); $routes->post('salesExecutive/changeExecutiveStatus', 'SalesExecutive::changeSalesExecutiveStatus'); diff --git a/app/Controllers/SalesExecutive.php b/app/Controllers/SalesExecutive.php index 03622e1..bdec6cb 100644 --- a/app/Controllers/SalesExecutive.php +++ b/app/Controllers/SalesExecutive.php @@ -10,7 +10,7 @@ use App\Models\AgentIncentiveFileModel; class SalesExecutive extends ResourceController { - protected $SalesExecutiveModel; + protected $salesExecutiveModel; public function __construct() {