@php use App\Enums\PaymentMethod; use App\Enums\PaymentStatus; @endphp
@php($invoice_orders_id = array_column($invoice_items, 'order_id')) @forelse ($orders as $order) @empty @endforelse
{{ __('Order ID') }} {{ __('Customer') }} {{ __('Email') }} {{ __('Sub Total') }} {{ __('Discount') }} {{ __('Grand Total') }} {{ __('Action') }}
{{ $order->id }} {{ $order->customer->name }} {{ $order->customer->email }} {{ $order->formatted_sub_total }} {{ $order->formatted_discount }} {{ $order->formatted_grand_total }} @if (in_array($order->id, $invoice_orders_id)) @else @endif
No Record Found
{{ $orders->links() }}
@csrf @if ($is_update) @method('PUT') @endif
{{ __('Name') }}
{{ __('E-mail') }}
{{ __('Supported Payment Methods') }} @foreach ($payment_methods as $payment_method) @endforeach
{{ __('Payment Status') }} @foreach ($payment_statuses as $payment_status) @endforeach
{{ __('Billing Address') }} (Use <br> for line break)
{{ __('Description') }}
@forelse ($invoice_items as $index => $invoice_item) @empty @endforelse
{{ __('Order ID') }} {{ __('Billing On') }} {{ __('Live Link') }} {{ __('Total') }} {{ __('Actions') }}
{{ $invoice_item['billing_on'] }} {{ __('Live Links') }}
Empty
{{ __('Sub Total') }} :
{{ __('Discount') }} :
{{ __('Grand Total') }} :
{{ __('Send Mail') }}:
{{ __('Cancel') }} @if ($is_update) {{ __('Update') }} @else {{ __('Save') }} @endif