@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Invoice Shops') @section('css') @endsection @section('content')
@if(\Auth::user()->role == 1) @endif @if (!$invoices->isEmpty()) @php ($i = 1) @foreach ($invoices as $invoice) @if(\Auth::user()->role == 1) @endif @php ($i++) @endforeach @endif
#HotelNo Invoice Nama Pelanggan Total Actions
{{$i}}
{{$invoice->hotel->nama ?? '--'}}
{{$invoice->no_invoice}}
{{$invoice->nama_pelanggan}}
{{$invoice->total}}
@endsection @section('js') @endsection