Merge branch 'develop'
This commit is contained in:
@@ -173,9 +173,9 @@ class BusinessTripService
|
|||||||
$itinerariesData = $businessTrip->itineraries->map(function ($item) {
|
$itinerariesData = $businessTrip->itineraries->map(function ($item) {
|
||||||
return [
|
return [
|
||||||
'destination' => $item->destination,
|
'destination' => $item->destination,
|
||||||
'start_date' => $item->start_date,
|
'start_date' => $item->start_time,
|
||||||
'end_date' => $item->end_date,
|
'end_date' => $item->end_time,
|
||||||
'estimated_cost' => $item->estimated_cost,
|
'estimated_cost' => $item->estimated_cost ?? 0,
|
||||||
];
|
];
|
||||||
})->toArray();
|
})->toArray();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user