@extends('backend.layouts.app-backend') @section('content')
S.N | Invoice no. | Order By | Payment Status | Payment Method | Order Status | Order Date | Action | |
---|---|---|---|---|---|---|---|---|
{{$key + 1}} | {{$order->invoice_no ?? 'N/A'}} | {{$order->user->first_name ?? 'N/A'}} {{$order->user->last_name ?? 'N/A'}} | @if( $order->payment_status == 0 ) unpaid @endif @if( $order->payment_status == 1 ) paid @endif @if( $order->payment_status == 2 ) cancelled @endif | {{ $order->payment_method }} | @if( $order->order_status == 0 ) Pending @endif @if( $order->order_status == 1 ) Completed @endif @if( $order->order_status == 2 ) Rejected @endif | {{$order->created_at}} | @if( ( $order->order_status == 1 && $order->payment_status == 0 ) || ( $order->order_status == 0 && $order->payment_status == 0 )) Payment status @endif | |
No orders Available! |