GWM : Date format
This commit is contained in:
parent
069f30ebc6
commit
f8f2d7c851
@ -119,7 +119,7 @@ class PolicyController extends ResourceController
|
|||||||
'rto_city_code' => $data['rto_city_code'] ?? null,
|
'rto_city_code' => $data['rto_city_code'] ?? null,
|
||||||
'weight' => $data['weight'] ?? null,
|
'weight' => $data['weight'] ?? null,
|
||||||
'fuel_type' => $data['fuel_type'] ?? null,
|
'fuel_type' => $data['fuel_type'] ?? null,
|
||||||
'date_of_registration' => format_date_for_database($data['date_of_registration'] ?? null),
|
'date_of_registration' => format_date_for_database($data['date_of_registration']),
|
||||||
'year_of_manufacture' => $data['year_of_manufacture'] ?? null,
|
'year_of_manufacture' => $data['year_of_manufacture'] ?? null,
|
||||||
'engine_no' => $data['engine_no'] ?? null,
|
'engine_no' => $data['engine_no'] ?? null,
|
||||||
'chassis_no' => $data['chassis_no'] ?? null,
|
'chassis_no' => $data['chassis_no'] ?? null,
|
||||||
@ -198,7 +198,7 @@ class PolicyController extends ResourceController
|
|||||||
'rto_city_code' => $data['rto_city_code'] ?? null,
|
'rto_city_code' => $data['rto_city_code'] ?? null,
|
||||||
'weight' => $data['weight'] ?? null,
|
'weight' => $data['weight'] ?? null,
|
||||||
'fuel_type' => $data['fuel_type'] ?? null,
|
'fuel_type' => $data['fuel_type'] ?? null,
|
||||||
'date_of_registration' => format_date_for_database($data['date_of_registration'] ?? null),
|
'date_of_registration' => format_date_for_database($data['date_of_registration']),
|
||||||
'year_of_manufacture' => $data['year_of_manufacture'] ?? null,
|
'year_of_manufacture' => $data['year_of_manufacture'] ?? null,
|
||||||
'engine_no' => $data['engine_no'] ?? null,
|
'engine_no' => $data['engine_no'] ?? null,
|
||||||
'chassis_no' => $data['chassis_no'] ?? null,
|
'chassis_no' => $data['chassis_no'] ?? null,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user