Merge branch 'develop' of github.com:invoiceninja/invoiceninja into develop
This commit is contained in:
commit
eed29c0180
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class PaymentTermTransformer extends EntityTransformer
|
|||
'name' => trans('texts.payment_terms_net') . ' ' . $paymentTerm->getNumDays(),
|
||||
'updated_at' => $this->getTimestamp($paymentTerm->updated_at),
|
||||
'archived_at' => $this->getTimestamp($paymentTerm->deleted_at),
|
||||
'is_default' => $paymentTerm->account_id == 0 ? 1 : 0,
|
||||
'is_default' => (bool) $paymentTerm->account_id == 0 ? true : false,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue