{{$title}}
Bill Details
Bill ID {{ $bill->bill_no }}
Vehicle Name {{ $bill->vendor->vehicle_no }}
Amount {{ $bill->subtotal }}
Date {{ \Carbon\Carbon::parse($bill->bill_date)->format('d-M-Y') }}
Status {{ $bill->status }}
Back to Bills Download PDF
{{--
Payment Details
@if($bill->status == 'Unpaid')
@csrf
@else
payment screenshot
@endif
--}}
Bookings from
Lark Holidays - {{$lark_amount}}

{{$lark_percentage}}%

Others - {{$others_amount}}

{{$others_percentage}}%

@foreach($bookings as $booking) @endforeach
Booking Date Guest Service Amount
{{ \Carbon\Carbon::parse($booking->allotment_date)->format('d-M - H:i') }}
{{ $booking->booking->agent_reference }}
{{ $booking->booking->guest_name }}
AD-{{$booking->booking->adults}} CH-{{$booking->booking->children}} INF-{{$booking->booking->infants}}
{{$booking->booking->type}}
@if(!empty($booking->booking->enroute_places)) ( @foreach(json_decode($booking->booking->enroute_places) as $key => $place) {{ Str::limit($place->title, 10) }} {{ $key < count(json_decode($booking->booking->enroute_places)) - 1 ? ', ' : '' }} @endforeach ) @endif
{{$booking->booking->fromPlace->place_name}} To {{ Str::limit($booking->booking->toPlace->place_name, 20) }}
{{ rtrim(rtrim(number_format($booking->amount, 2), '0'), '.') }}
@foreach($bill->items as $item) @endforeach
Sub Total {{ rtrim(rtrim(number_format($bill->subtotal, 2), '0'), '.') }}
{{ $item->name }} {{ rtrim(rtrim(number_format(-$item->amount, 2), '0'), '.') }}
Net Pay {{ rtrim(rtrim(number_format($bill->amount, 2), '0'), '.') }}