Updates for mock task data

This commit is contained in:
David Bomba 2023-11-16 17:54:56 +11:00
parent cae72b2776
commit a639ddc5c9
2 changed files with 8 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -214,7 +214,7 @@ class TemplateService
{
$this->data = $this->preProcessDataBlocks($data);
nlog($this->data);
// nlog($this->data);
return $this;
}
@ -1226,6 +1226,7 @@ class TemplateService
($this->entity instanceof Credit) => $entity_string = 'credit',
($this->entity instanceof RecurringInvoice) => $entity_string = 'invoice',
($this->entity instanceof PurchaseOrder) => $entity_string = 'purchase_order',
($this->entity instanceof Payment) => $entity_string = 'payment',
default => $entity_string = 'invoice',
};