mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fix comma formating
This commit is contained in:
parent
3a6b27ff9e
commit
92e924faf7
@ -68,7 +68,10 @@ class InvoiceDatatable extends EntityDatatable
|
|||||||
function ($model) {
|
function ($model) {
|
||||||
$str = '';
|
$str = '';
|
||||||
if ($model->partial_due_date) {
|
if ($model->partial_due_date) {
|
||||||
$str = Utils::fromSqlDate($model->partial_due_date) . ', ';
|
$str = Utils::fromSqlDate($model->partial_due_date);
|
||||||
|
if ($model->due_date_sql && $model->due_date_sql != '0000-00-00') {
|
||||||
|
$str .= ', ';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return $str . Utils::fromSqlDate($model->due_date_sql);
|
return $str . Utils::fromSqlDate($model->due_date_sql);
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user