@foreach($deliveries as $key=> $row)
{{ $row->name }} @if(count($row->target('city','morning')) > 0) @foreach($row->target('city','morning') as $data) {{$data->descriptions()->name}} @endforeach @else {{__('meals.not_picked')}} @endif @if(count($row->target('area','morning')) > 0) @foreach($row->target('area','morning') as $data) {{$data->descriptions()->name}} @endforeach @else {{__('meals.not_picked')}} @endif @if(count($row->target('city','night')) > 0) @foreach($row->target('city','night') as $data) {{$data->descriptions()->name}} @endforeach @else {{__('meals.not_picked')}} @endif @if(count($row->target('area','night')) > 0) @foreach($row->target('area','night') as $data) {{$data->descriptions()->name}} @endforeach @else {{__('meals.not_picked')}} @endif {{ $row->countOrders() }} {{ \Carbon\Carbon::parse($row->created_at)->format('Y/m/d') }} @if($row->deleted_at) {{ __('dashboard.restore') }} {{ __('dashboard.delete') }} @else {{ __('dashboard.edit') }} {{ __('dashboard.edit') }} {{ __('dashboard.trash') }} @endif @endforeach @if( count( $deliveries ) && $deliveries->hasPages() ) {{ $deliveries->links() }} @endif