@foreach($invoices as $invoice) {{--@if(number_format($invoice->amount) > number_format($invoice->paidAmount))--}}
INV {{$invoice->id}} | (Transportation Fees) | ||
Invoice Date | {{\Carbon\Carbon::parse($invoice->date)->toFormattedDateString()}} | ||
Invoiced Amount | {{number_format($invoice->amount,2)}} | ||
Debit Notes Amount | {{number_format($invoice->debited_amount,2)}} | ||
Credit Notes Amount | {{number_format($invoice->credited_amount,2)}} | ||
Paid Amount | {{number_format($invoice->paidAmount,2)}} | ||
Outstanding Amount | {{number_format(($invoice->amount+$invoice->debited_amount)-($invoice->paidAmount+$invoice->credited_amount),2)}} | ||