@extends('admin.layouts.master') @section('title', 'Order list') @section('content')
List of Orders
@forelse ($orders as $id => $order) @empty @endforelse
{{ __('#') }} {{ __('Date') }} {{ __('EA-FA') }} {{ __('Company') }} {{ __('Total') }} {{ __('Approval') }} {{ __('Delivery') }} {{ __('Payment') }} {{ __('Actions') }}
{{ ++$id }} {{ $order->created_at->format('d-m-y') }} {!! $order->invoice->company->short_name ?? null !!} {{ $order->user->name ?? NULL }} £ {{ $order->grand_total ?? null }} {{-- @if ($order->approval_status != 'canceled' && $order->approval_status != 'decline') @endif --}} {{-- @if (!($order->approval_status == 'approved' || $order->payment_status != 'pending')) --}}
@csrf
{{-- @endif --}}
No orders found
@endsection @section('js') {{-- --}} @endsection