@extends('emails.mail') @php use Carbon\Carbon; @endphp @section('content')

Dear {{ $order->first_name }},

Thank you for booking your order with {{ env('APP_NAME') }}.

In case you require any further assistance, please feel free to connect with us {{ env('MAIL_FROM_ADDRESS') }} We would be happy to help you!

Trip Details

Name: {{ $order->name }} Email ID: {{ $order->email }} Phone: {{ $order->phone }} Trip ID: {{ $order->order_no }} Start Date & Time: {{ Carbon::parse($order->start_date)->format('M d, Y') . ' @ ' . Carbon::parse($order->start_time)->format('h:i A') }} @if ($order->type == 'Round Trip') End Date & Time: {{ Carbon::parse($order->end_date)->format('M d, Y') . ' @ ' . Carbon::parse($order->end_time)->format('h:i A') }} Total Days: {{ $order->total_days }} @endif Trip Type: {{ $order->type }} @if ($order->type == 'Local Trip') Package: {{ $order->package }} @else Pickup Address: {{ $order->pickup }} @empty(!$order->drop) @foreach ($order->drop as $key => $location) {{ $order->drop[count($order->drop) - 1] == $location ? 'Drop' : 'Stop' }} Address: {{ $location }} @endforeach @endempty @endif Parking: Extra Toll: {{ $order->toll }} Tax: {{ $order->tax }} @if ($order->total_kms) Total KMs: {{ $order->total_kms }} @endif @if ($order->compare_at_price) Extra Price Per Km: {{ $order->compare_at_price }} @endif

Price Details

Total Amount: Rs. {{ $order->total }} Paid Amount: Rs. {{ $order->paid_amount }} Payable Amount (Due Fare): Rs. {{ $order->due_amount }} {{--

*All the above prices are including GST

--}} @endsection