Fixes for template_id

This commit is contained in:
David Bomba 2023-10-06 21:39:22 +11:00
parent 019aac5daa
commit 703c60903e

View File

@ -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);