Insurer issue : GWM

This commit is contained in:
Gowtham M 2025-12-10 18:12:17 +05:30
parent eae368228a
commit 965ff4db48
2 changed files with 6 additions and 3 deletions

View File

@ -205,7 +205,8 @@ class PolicyController extends ResourceController
'model' => $data['model'] ?? null, 'model' => $data['model'] ?? null,
'cubic_capacity' => $data['cubic_capacity'] ?? null, 'cubic_capacity' => $data['cubic_capacity'] ?? null,
'vehicle_type' => $data['vehicle_type'] ?? null, 'vehicle_type' => $data['vehicle_type'] ?? null,
'updated_by' => $data['updated_by'] ?? null 'updated_by' => $data['updated_by'] ?? null,
'is_data_accuracy_checked'=> 1
]; ];
$uploadPath = WRITEPATH . 'uploads/policy/'; $uploadPath = WRITEPATH . 'uploads/policy/';
@ -443,6 +444,7 @@ class PolicyController extends ResourceController
$policyData['model'] = $data['vehicle']['model'] ?? null; $policyData['model'] = $data['vehicle']['model'] ?? null;
$policyData['cubic_capacity'] = $data['vehicle']['cubic_capacity'] ?? null; $policyData['cubic_capacity'] = $data['vehicle']['cubic_capacity'] ?? null;
$policyData['vehicle_type'] = $data['vehicle']['vehicle_type'] ?? null; $policyData['vehicle_type'] = $data['vehicle']['vehicle_type'] ?? null;
$policyData['rc_no'] = $data['vehicle']['reg_no'] ?? null;

View File

@ -49,7 +49,8 @@ class PolicyModel extends Model
'model', 'model',
'cubic_capacity', 'cubic_capacity',
'vehicle_type', 'vehicle_type',
'broker_name' 'broker_name',
'is_data_accuracy_checked',
]; ];
protected $useTimestamps = false; protected $useTimestamps = false;