@foreach(request()->columns ?? $columns as $column) @endforeach @if(\App\Helper::HasPermissionMenu('invoice', 'create')) @endif @php $index = \App\Helper::PageIndex() @endphp @foreach ($data as $key=>$item) @foreach(request()->columns ?? $columns as $column) @if($column == "hall") @elseif($column == "company_id") @elseif($column == "hotel") @elseif($column == "cuisine_name") @elseif($column == "meal_system") @elseif($column == "total_guest") @else @endif @endforeach @endforeach
{{__('page.sl')}}{{__('db.complete_order.'.$column)}}{{__('page.action')}}
{{$index++}}{{$item->hall?->name}}{{$item->company?->name}}{{$item->hotel?->name}}{{$item->country?->name}}{{$item->meal_system_names}}{{$item->total_guest}}{{$item->$column}} @if(\App\Helper::HasPermissionMenu('invoice', 'create')) {{__('page.generate')}} @endif
{{ $data->links() }}