@extends(\Auth::user()->role != 10 ? 'layout' : 'layoutfrontdesk') @section('title', 'Arrangement Code') @section('css') @endsection @section('content')
@foreach($arrangement_codes as $arrangement_code) @endforeach
none Arrangement Code Item Total Period of validity Actions
{{ $loop->iteration }} {{ $arrangement_code->arrangement_code ?? '-' }} @if(count($arrangement_code->arrangementCodeDetail) > 0) @foreach($arrangement_code->arrangementCodeDetail as $detail) -{{(@$detail->shop->nama) ?? ''}}: {{(@$detail->menu->nama) ?? 'Tidak diketahui'}}
@endforeach @else No Item @endif
{{ ribuanWithComma($arrangement_code->totalHarga->total ?? 0) }} {{ ($arrangement_code->start_date == "" ? '-' : tanggalIndo($arrangement_code->start_date)).' until '.($arrangement_code->end_date == "" ? '-' : tanggalIndo($arrangement_code->end_date))}} @if(!count($arrangement_code->bookingDetails) > 0) @endif
@endsection @section('js') @endsection