mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for template_id
This commit is contained in:
parent
019aac5daa
commit
703c60903e
@ -329,7 +329,7 @@ class TemplateService
|
||||
|
||||
$payments = [];
|
||||
|
||||
if($invoice->payments) {
|
||||
if($invoice->payments ?? false) {
|
||||
$payments = $invoice->payments->map(function ($payment) {
|
||||
// nlog(microtime(true));
|
||||
return $this->transformPayment($payment);
|
||||
|
Loading…
x
Reference in New Issue
Block a user