1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-05 18:52:44 +01:00

Bug Fixes

This commit is contained in:
David Bomba 2019-09-11 16:35:31 +10:00
parent 0d4d1041f5
commit de3c724f48

View File

@ -125,7 +125,7 @@ class InvoiceController extends Controller
$invoices->filter(function ($invoice){
return $invoice->isPayable();
})->map(function ($invoice){
$invoice->balance = Number::formatMoney($invoice->balance, $invoice->client;
$invoice->balance = Number::formatMoney($invoice->balance, $invoice->client);
$invoice->due_date = $this->formatDate($invoice->due_date, $invoice->client->date_format());
return $invoice;