{{is_object($invoice->hotel) > 0 ? $invoice->hotel->nama : '-'}}
Address: {{is_object($invoice->hotel) > 0 ? $invoice->hotel->alamat : '-'}}
Phone: {{is_object($invoice->hotel) > 0 ? $invoice->hotel->telp : '-'}}
Email: {{is_object($invoice->hotel) > 0 ? $invoice->hotel->email : '-'}}

   
INVOICE
Date
Invoice#
{{$invoice->updated_at->format('d/m/Y')}}
{{$invoice->no_invoice}}
Bill to
{{$invoice->nama_pelanggan == "" ? '-' : $invoice->nama_pelanggan}}

@if(is_object($invoice->shopTransaksi)) @php ($i = 1) @foreach($invoice->shopTransaksi as $transaksi) @php ($i++) @endforeach @else @endif
No Shop Kamar Menu Jumlah Total
{{$i}} {{$transaksi->shop->nama ?? '-'}} {{$transaksi->kamar->no_kamar ?? '-'}} {{$transaksi->menu->nama ?? '-'}} {{$transaksi->jumlah ?? '-' }} Rp {{number_format($transaksi->total_biaya, 0, ",", ".")}}
Grand Total Rp {{number_format(($invoice->total), 0, ",", ".")}}
Tidak Ada Data