@extends('admin.layouts.master') @section('title', 'FA Invoices') @section('content')

{{ __('Search Invoice') }}

FA Invoices
@foreach ($invoices as $invoice) @endforeach
{{ __('Date') }} {{ __('User') }} {{ __('Company') }} {{ __('INV Name') }} {{ __('INV No') }} {{ __('Total') }} {{ __('Delivery') }} {{ __('Invoice') }} {{ __('Payment') }} {{ __('Actions') }}
{{ \Carbon\Carbon::parse($invoice->created_at)->format('d-m-Y') }} {{ $invoice->order->user->name ?? null }} {{ $invoice->order->user->company ?? null }} {{ $invoice->invoice_name ?? null }} {{ $invoice->invoice_no ?? null }} {{ $invoice->order->grand_total ?? null }} {{ ucfirst(optional($invoice->order)->delivery_status ?? 'N/A') }} {{ ucfirst(optional($invoice->order)->invoice_status ?? 'N/A') }} {{ ucfirst(optional($invoice->order)->payment_status ?? 'N/A') }}
@endsection