value General mistake

This commit is contained in:
VE10-Sanjeev 2025-04-11 06:25:15 +00:00
parent 0d61440b6e
commit b42fa935de

View File

@ -1278,7 +1278,7 @@ class Jobcard extends BaseController
$makeId = $this->request->getPost('make_id');
$modelId = $this->request->getPost('model_id');
$type = $this->request->getPost('type');
$selectServiceString = ($type == "With General") ? "services.wg_price,services.wg_labour_cost as labour_cost" : "services.wog_price,services.wog_labour_cost as labour_cost";
$selectServiceString = ($type == "General") ? "services.wg_price,services.wg_labour_cost as labour_cost" : "services.wog_price,services.wog_labour_cost as labour_cost";
$ccId = $this->BikemodelsModel->where('model_id',$modelId)->get()->getRow()->cubic_capacity_id;