mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
Update PaymentTermTransformer.php
This commit is contained in:
parent
66b61db4fd
commit
ccb9d5a9f6
@ -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' => (bool) $paymentTerm->account_id == 0 ? 1 : 0,
|
||||
'is_default' => (bool) $paymentTerm->account_id == 0 ? true : false,
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user