@extends("layouts.user.app") @section("page-nav-title")

Orders

Control and view Orders

@endsection @section("content") @include("layouts.main-parts.page-message")
{{-- --}} @forelse($orders as $order) {{-- --}} @empty @endforelse
#ID Order number Phone number Status Payment Method Total Quantity Tax Total Amount Branch Name Address Created atUpdated atinstruction Details
{{$order->id}} {{$order->order_number}} {{$order->phone_number}} @switch($order->Status) @case(1) Pending @break @case(2) Accept @break @case(3) Prepare @break @case(4) Ready @break @case(5) Delieverd @break @case(6) Reject @break @endswitch {{$order->paymentMethod}} {{$order->totalQty}} {{$order->tax}} {{$order->Total_Amount}} {{$order->branch->store_name_ar}} {{$order->DropOffAddress}} {{$order->created_at->diffForhumans()}}{{$order->updated_at->diffForhumans()}}{{$order->instruction}} id)}}" class="control-link">
No Order found
@if(!isset($search)) {{ $orders->appends(Request::except('page'))->links() }} @endif
@endsection @section("scripts") @endsection