mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-09 20:52:56 +01:00
Fix comma formating
This commit is contained in:
parent
3a6b27ff9e
commit
92e924faf7
@ -68,7 +68,10 @@ class InvoiceDatatable extends EntityDatatable
|
||||
function ($model) {
|
||||
$str = '';
|
||||
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);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user