@extends('admin.layout.master') @section('custom_style') @endsection @section('content') @include('flash-message')
| SL | Date | Resv No | CheckIn No | Pay Mode | Voucher No | Commission | Discount | Amount | Action |
|---|---|---|---|---|---|---|---|---|---|
| {{ $i }} | {{ $invoice_list->first()->date }} | {{ $invoice_list->first()->reservation->resv_code }} | {{ $invoice_list->first()->reservation->checkin_code ?? $invoice_list->first()->reservation->checkin_code }} | @foreach ($invoice_list as $list) {{-- @dd($list) --}} {{-- {{ getCashBank()->where('account_id',$list->ledger_id)->first() ? getCashBank()->where('account_id',$list->ledger_id)->first()->name_eng : null }} --}} {{ $list ? ($list->cash_bank ? $list->cash_bank->name_eng : null) : null }} |