@if (isDesktop()) @endif
{{--
--}}
@if ($total > 0) {{-- --}}
@foreach ($orders as $index => $orderModal) @php $loop_status = 4; @endphp @for ($i=1; $i < $orderModal->status; $i++) @if ($orderModal->publish == 1 ) @elseif ($orderModal->status == $i+1 && $orderModal->publish == -1) @else @endif @endfor @for ($i=0; $i < 4 - $orderModal->status; $i++) @if ($i == 0) @else @endif @endfor @if ($orderModal->status > 0) @endif @endforeach
# {!! __('Invoice') !!} {!! __('Date of request') !!} {!! __('Customer name') !!} {!! __('Mobile number') !!} {!! __('Confirm order') !!} {!! __('Order processing') !!} {!! __('Charging') !!} {!! __('Delivered') !!}
{{ $index+1 }} {!! $orderModal->order_number !!} {{ $orderModal->created_at->format('Y-m-d') }} {!! @$orderModal->user->name !!} {!! @$orderModal->user->mobile !!} @if (empty($orderModal->publish)) @if (@$orderModal->check) @if (auth()->user()->ability('Root,Administrator','order-casher')) @endif @else {!! __('X') !!} @endif @if (auth()->user()->ability('Root,Administrator','order-casher')) @endif @else @if ($orderModal->publish == 1 ) @elseif ($orderModal->status == 1 && $orderModal->publish == -1) {!! __('Canceled') !!} @elseif ($orderModal->status > 1 && $orderModal->publish == -1) @else {!! __('Canceled') !!} @endif @endif {!! __('Canceled') !!} @if ($orderModal->publish == 1) @if (@$orderModal->check) @if (auth()->user()->ability('Root,Administrator','order-casher')) @endif @else {!! __('X') !!} @endif @if (auth()->user()->ability('Root,Administrator','order-casher')) @endif @endif
@else

{!! __('No Results') !!}


@endif