@foreach($arrangements as $arr) @if ($arr->arrangementCodeDetail) {{-- --}} @foreach ($arr->arrangementCodeDetail as $item) @endforeach @endif @endforeach
Arrangement Code Period of validity
{{ $arr->arrangement_code ?? '' }} {{ dateFormat($arr->start_date, 'd-m-Y') ?? '' }} - {{dateFormat($arr->end_date, 'd-m-Y')}}
Item Revenue group Price
{{@$item->menu->nama}} {{config('custom.revenue_groups')[@$item->revenue_group_id]}} {{ribuanWithComma(@$item->harga)}}