@if(session('success'))
{!! alert_success(session('success')) !!}
@elseif(session('error'))
{!! alert_error(session('error')) !!}
@endif
{{ $booking->customer->firstname }} {{ $booking->customer->lastname }}
{{ str_date($booking->start_date) }}
{{ str_date($booking->end_date) }}
{!! label($booking->status->name, $booking->status->label) !!}
{{ $booking->no_of_days }}
{{ $booking->no_of_rooms }}
{{ str_date($booking->booking_date) }}
{{ number_format($booking->total,2) }}
{{ number_format($booking->total_paid,2) }}
{{ $booking->user->name }}
{{ $booking->customer->firstname }} {{ $booking->customer->lastname }}
{{ $booking->customer->address }}
{{ $booking->customer->email }}
{{ $booking->customer->phone_number }}
{{ $booking->customer->nok_firstname }} {{ $booking->customer->nok_lastname }}
{{ $booking->customer->nok_phone_number }}
{{ $booking->customer->nationality }}
{{ $booking->customer->passport_no }} / {{ $booking->customer->passport_expire_date }}
{{ $booking->customer->occupation }}
{{ $booking->customer->purpose_of_visit }}
{{ $booking->customer->vehicle_reg_number }}
{{ $booking->customer->arriving_from }}
{{ $booking->customer->city }}
{{ $booking->customer->state }}
# |
Room Name |
Price |
No of Nights |
Total |
@foreach($booking->booking_reservation_items as $item)
{{ $loop->iteration }} |
{{ $item->room->name }} |
{{ number_format($item->price,2) }} |
{{ $item->noOfDays }} |
{{ number_format($item->total,2) }} |
@endforeach
|
|
|
Sub Total |
{{ number_format($booking->total,2) }} |
|
|
|
Total |
{{ number_format($booking->total,2) }} |
# |
Customer |
Store |
Method |
Invoice / Receipt Number |
Sub Total |
Total Paid |
Payment Time |
Payment Date |
@php
$total=0;
@endphp
@foreach($payments as $payment)
{{ $loop->iteration }} |
{{ $payment->customer->firstname }} {{ $payment->customer->lastname }} |
{{ $payment->warehousestore->name }} |
{{ isset( $payment->payment_method->name) ? $payment->payment_method->name : "" }} |
{{ $payment->invoice->invoice_paper_number }} |
{{ number_format($payment->amount,2) }} |
{{ number_format($payment->amount,2) }} |
{{ date("h:i a",strtotime($payment->payment->payment_time)) }} |
{{ convert_date($payment->payment->payment_date) }} |
@endforeach
|
|
|
|
|
{{ number_format($payments->sum('amount'),2) }} |
{{ number_format($payments->sum('amount'),2) }} |
|
|