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…
Reference in New Issue