@lang('view_pages.col_title') |
@lang('view_pages.description') |
@lang('view_pages.price') |
@if($item->is_bid_ride == false)
@php
$requestBill = collect($item->requestBill->toArray());
$bill =
$requestBill->only(['base_price','distance_price','time_price','waiting_charge','cancellation_fee','service_tax','promo_discount','total_amount','admin_commision','driver_commision','admin_commision_from_driver']);
$bill->all();
$bill = $bill->toArray();
@endphp
@foreach ($bill as $key => $value)
{{ __('view_pages.'.$key) }} |
@if ($key == 'distance_price')
{{ $item->total_distance .' '. $item->request_unit }} *
{{ $item->currency .' '. $item->requestBill->price_per_distance.' / '.$item->request_unit }}
@elseif ($key == 'time_price')
{{ $item->total_time.' Mins' }} *
{{ $item->currency .' '. $item->requestBill->price_per_time.' / Mins' }}
@elseif ($key == 'base_price')
{{ 'For first ' . $item->requestBill->base_distance .' '. $item->request_unit }}
@else
-
@endif
|
{{ $value }} |
@endforeach
@else
@php
$requestBill = collect($item->requestBill->toArray());
$bill =
$requestBill->only(['service_tax','total_amount','admin_commision','admin_commision_from_driver','driver_commision']);
$bill->all();
$bill = $bill->toArray();
@endphp
@foreach ($bill as $key => $value)
{{ __('view_pages.'.$key) }} |
{{ $value }} |
@endforeach
@endif