@include('partials.return_function2')
Book Order #{{ $data['id'] }} {{--

Your IP address - {{ $ip_address }}

--}}
@csrf @if (Auth::check()) @else @endif
SUMMARY

Order Information @php // $vehiclearray = explode('*^-', $data['ymk']); // $vin_num = explode('*^', $data['vin_num']); // $condition1 = explode('*^', $data['condition']); // $transport = explode('*^', $data['transport']); $vehiclearray = explode('*^', str_replace('*^-', '*^', $data['ymk'])); $vin_num = explode('*^', str_replace('*^-', '*^', $data['vin_num'])); $condition1 = explode('*^', str_replace('*^-', '*^', $data['condition'])); $transport = explode('*^', str_replace('*^-', '*^', $data['transport'])); @endphp @php if ($data['freight']) { # code... $frieght_class = $data['freight']['frieght_class']; $equipment_type = implode( ', ', explode('*^', $data['freight']['equipment_type']), ); $trailer_specification = $data['freight']['trailer_specification']; $ex_pickup_date = $data['freight']['ex_pickup_date']; $ex_pickup_time = $data['freight']['ex_pickup_time']; $ex_delivery_date = $data['freight']['ex_delivery_date']; $ex_delivery_time = $data['freight']['ex_delivery_time']; $commodity_detail = $data['freight']['commodity_detail']; $commodity_unit = $data['freight']['commodity_unit']; $total_weight_lb = $data['freight']['total_weight_lbs']; $pick_up_service = implode( ', ', explode('*^', $data['freight']['pick_up_services']), ); $deliver_service = implode( ', ', explode('*^', $data['freight']['deliver_services']), ); $shipment_prefences = $data['freight']['shipment_prefences']; } @endphp @if ($data['car_type'] != 3) @else @endif
Order# {{ $data['id'] }}
Vehicle Name @foreach ($vehiclearray as $key => $vhicle) {{ $vhicle }}
@endforeach
Condition @foreach ($condition1 as $val2) {{ '(' . get_condtion($val2) . '),' }} @endforeach
Transport @foreach ($transport as $val3) {{ '(' . get_cartype($val3) . '),' }} @endforeach
Commodity details {{ $commodity_detail }}
Equipment type {{ $equipment_type }}
Trailer Specifications {{ $trailer_specification }}
Pickup Location {{ $data['originzsc'] }}
Delivery Location {{ $data['destinationzsc'] }}

Pricing Information @if (!empty($data['payment'])) @if ($coupon_price > 0) @endif @endif
Booking Price ${{ $data['payment'] }}
Coupon Price - ${{ $coupon_price }}
Remaining Price ${{ $data['payment'] - $coupon_price }}
Deposit {{ isset($data['deposit_amount']) ? '$' . $data['deposit_amount'] : '$0' }}
Balance Amount {{ isset($data['balance']) ? '$' . $data['balance'] : '$0' }}
@if ($data['car_type'] == 3)
Freight Detail
Order Information
Freight Class {{ $frieght_class }}
Equipment Type {{ $equipment_type }}
Trailer Specification {{ $trailer_specification }}
Expected Pickup Date {{ $ex_pickup_date }}
Expected Pickup Time {{ $ex_pickup_time }}
Expected Delivery Date {{ $ex_delivery_date }}
Expected Delivery Time {{ $ex_delivery_time }}
Commodity Detail {{ $commodity_detail }}
Commodity Unit {{ $commodity_unit }}
Total Weight (lbs) {{ $total_weight_lb }}
Pickup Services {{ $pick_up_service }}
Delivery Services {{ $deliver_service }}
Shipment Preferences {{ $shipment_prefences }}
@endif
Note: Please fill out all the fields that are required (*).
{{-- --}}
3
Confirm Order

This field is required.
This field is required.
This field is required.