@extends('user.layouts.master') @section('main-content')
@include('user.layouts.notification')
Order Lists
@if(count($orders)>0) @foreach($orders as $order) @endforeach
S.N. Order No. Name Email Quantity Charge Total Amount Status Action
S.N. Order No. Name Email Quantity Charge Total Amount Status Action
{{$order->id}} {{$order->order_number}} {{$order->first_name}} {{$order->last_name}} {{$order->email}} {{$order->quantity}} ${{$order->shipping->price}} ${{number_format($order->total_amount,2)}} @if($order->status=='new') {{$order->status}} @elseif($order->status=='process') {{$order->status}} @elseif($order->status=='delivered') {{$order->status}} @else {{$order->status}} @endif
@csrf @method('delete')
{{$orders->links()}} @else
No orders found!!! Please order some products
@endif
@endsection @push('styles') @endpush @push('scripts') @endpush