@include("frontdesk.report.report_header")
| {{ __('obs.sl') }} | {{ __('obs.date') }} | {{ __('obs.reservation_no') }} | {{ __('obs.checkin_no') }} | {{ __('obs.agent') }} | {{ __('obs.voucher_no') }} | {{ __('obs.type') }} | {{ __('obs.method') }} | {{ __('obs.commission') }} | {{ __('obs.discount') }} | {{ __('obs.amount') }} | {{ __('obs.action') }} | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $invoice_list->date }} | @if ($invoice_list->reservation) {{ $invoice_list->reservation->resv_code }} @endif | @if ($invoice_list->reservation) {{ $invoice_list->reservation->checkin_code }} @endif | {{ $invoice_list->get_agent_info->name_eng ?? '' }} | {{$invoice_list->fd_invoice ? $invoice_list->fd_invoice->invoice_no : null}} | {{get_voucher_type($invoice_list->voucher_type)}} | @if($invoice_list->voucher_type != 5) {{cash_bank_name($invoice_list->child_invoice->where('type',0)->first()->ledger_id)}} @else {{-- {{cash_bank_name($invoice_list->ledger_id)}} --}} @endif | {{--{{cash_bank_name($invoice_list->child_invoice->where('type',0)->first()->ledger_id)}}--}}{{$commission}} | {{ $discount}} | @php $total_receipt += $amount; @endphp {{$amount}} | {{----}} {{-- | --}} | {{-- Details --}} |
| {{ $i }} | {{ $invoice_list->date }} | {{ $invoice_list->reservation ? $invoice_list->reservation->resv_code : null; }} | {{ $invoice_list->reservation ? $invoice_list->reservation->checkin_code : null;}} | {{ $invoice_list->get_agent_info->name_eng ?? '' }} | {{$invoice_list->fd_invoice ? $invoice_list->fd_invoice->invoice_no: null}} | {{get_voucher_type($invoice_list->voucher_type)}} | {{cash_bank_name($invoice_list->child_invoice->where('type',0)->first()->ledger_id)}} | @php $total_receipt -= $amount; @endphp {{$amount}} | |||||
| {{ __('obs.total') }} | {{$total_receipt}} | ||||||||||||