Invoice List

@if(isset($crit['issue_date_from']) && isset($crit['issue_date_to'])) @endif @if(isset($crit['due_date_from']) && isset($crit['due_date_to'])) @endif
Issue Date From: {{ \Carbon\Carbon::parse($crit['issue_date_from'])->format(config('custom.dmy')) }}        Issue Date To: {{ \Carbon\Carbon::parse($crit['issue_date_to'])->format(config('custom.dmy')) }}
Due Date From: {{ \Carbon\Carbon::parse($crit['due_date_from'])->format(config('custom.dmy')) }}        Due Date To: {{ \Carbon\Carbon::parse($crit['due_date_to'])->format(config('custom.dmy')) }}
Status: {{ html_status($crit['status']) }}


@foreach ($invoices as $invoice) @endforeach
#Invoice No. User Issue Date Due Date Total Amount Paid Amount Due Amount Status Payment Method
#{{ $invoice->invoice_no }} {{ $invoice->user->name }} {{ \Carbon\Carbon::parse($invoice->issue_date)->format(config('custom.dmy')) }} {{ \Carbon\Carbon::parse($invoice->due_date)->format(config('custom.dmy')) }} {{ $invoice->amount }} {{ $invoice->paid_amount }} {{ $invoice->due_amount }} {{ html_status($invoice->status) }} @foreach ($invoice->payment_methods as $pm) - {{ $pm }}
@endforeach