@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Split Bill | Draft Split Bill') @section('css') @endsection @section('content')
@csrf
@php $no=1; @endphp @foreach($invoice->invoicedetail as $detail) @php $no++; @endphp @endforeach
# Date Description No. Kamar Total
{{date('d F Y',strtotime($detail->created_at))}} {{$detail->description}} @if ($detail->room_no != null) {{$detail->room_no}} @else @foreach ($detail->invoice->bookings->bookingDetails as $bookdetail) {{$bookdetail->nomor_kamar}} @if (!$loop->last) , @endif @endforeach @endif Rp {{ribuan($detail->total)}}
@endsection @section('js') @endsection