@extends('admin.layout.app') @section('style') @section('header') @endsection @endsection @section('content')
{{--
{!! Form::select("company_id ",StoreOrCompany(),(array_key_exists('company_id ', $search))? $search['company_id '] : null,['class'=>"form-control select2 "])!!}
--}}
{{--
{!! Form::select("city_id",TheCity('المدينه من '),(array_key_exists('city_id', $search))? $search['city_id'] : null,['class'=>"form-control select2 "])!!}
--}} {{--
{!! Form::select("city_id",TheCity('المدينه الى'),(array_key_exists('city_id', $search))? $search['city_id'] : null,['class'=>"form-control select2 "])!!}
--}} {{--
{!! Form::select("status",array_merge(['' => 'اختر الحالة'],OrderStatus()),(array_key_exists('status', $search))? $search['status'] : null,['class'=>"form-control select2 "])!!}
--}} {{--
--}} {{-- --}}
@php $i = 1; @endphp {{-- 'date' , 'address' , 'lat' , 'long' , 'driver_id' , 'city_id' , 'user_id' , 'status_id' , 'cancelled_by' , 'rate' , 'rate_details' , 'commission' , 'items' , 'due' , 'notes' , 'status', 'price' --}} {{-- --}} {{-- --}} {{-- --}} @foreach($orders as $item) {{-- --}} {{-- --}} {{-- --}} @endforeach
# التاريخ العنوان اسم السائق المدينه اسم المستخدم ملحوظات الحاله السعر العمليات
{{$item->id}} {{$item->date}} {{$item->address}} {{$item->Driver->name ?? ''}} {{$item->City->name ?? ''}} {{ $item->User->name ?? '' }}{{$item->notes}} {{$item->status }} {{$item->price }} تعديل حذف عرض
{{ $orders->appends($search)->links() }}
@endsection @section('script') @endsection