@extends('cityadmin.layout.app') @section ('content')
@if (session()->has('success'))
@if(is_array(session()->get('success')))
    @foreach (session()->get('success') as $message)
  • {{ $message }}
  • @endforeach
@else {{ session()->get('success') }} @endif
@endif @if (count($errors) > 0) @if($errors->any()) @endif @endif

{{ __('keywords.Store Order List')}}


@if(count($ord)>0) @php $i=1; @endphp @foreach($ord as $ords) @endif @if($ords->order_status == "Pending" || $ords->order_status == "pending") @endif @if($ords->order_status=="Confirmed" || $ords->order_status=="confirmed") @endif @if($ords->order_status=="out_for_delivery" || $ords->order_status=="Out_For_Delivery") @endif @if($ords->order_status=="Cancelled" || $ords->order_status=="cancelled") @endif @if($ords->order_status=="Completed" || $ords->order_status=="completed") @endif @php $i++; @endphp @endforeach @else @for ($i = 1; $i < 7; $i++) @endfor @endif
# {{ __('keywords.Cart_id')}} {{ __('keywords.Cart price')}} {{ __('keywords.User')}} {{ __('keywords.Delivery_Date')}} {{ __('keywords.Cart Products')}} {{ __('keywords.status')}}
{{$i}} {{$ords->cart_id}} {{$ords->total_price}} {{$ords->name}}({{$ords->user_phone}}) {{$ords->delivery_date}}({{$ords->time_slot}}) @if($ords->order_status==NULL || $ords->order_status=="")

NOT PLACED

Pending

Confirmed

Out For Delivery

Cancelled

Completed

{{ __('keywords.No data found')}}

{{ $ord->render("pagination::bootstrap-4") }}
@foreach($ord as $ords)
@endforeach @endsection