| {{ $i }} |
{{$invoice->fd_invoice->invoice_no}} |
@if($invoice->reservation && $invoice->reservation->checkin_code)
{{$invoice->reservation->checkin_code ?? $invoice->reservation->resv_code ?? ''}}
{{-- {{$invoice->reservation->checkin_code ?? $invoice->reservation->resv_code ?? ''}} --}}
@else
{{$invoice->reservation->checkin_code ?? $invoice->reservation->resv_code ?? ''}}
@endif
|
{{$invoice->reservation ? $invoice->reservation->get_agent_info->name_eng : null}} |
{{ carbon()->parse($invoice->date)->format('d-m-Y h:i:m A') }} |
{{ user_name($invoice->created_by)}} |
@if ( $invoice->voucher_type==1)
{{"Advance"}}
@elseif ($invoice->voucher_type==4)
{{"Bill Receive"}}
@elseif ($invoice->voucher_type==5)
{{"Refund"}}
@else
{{"N/A"}}
@endif
|
{{round($invoice->amount,2)}}
|
|
@endforeach