mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Updates for mock task data
This commit is contained in:
parent
cae72b2776
commit
a639ddc5c9
File diff suppressed because one or more lines are too long
@ -214,7 +214,7 @@ class TemplateService
|
|||||||
{
|
{
|
||||||
|
|
||||||
$this->data = $this->preProcessDataBlocks($data);
|
$this->data = $this->preProcessDataBlocks($data);
|
||||||
nlog($this->data);
|
// nlog($this->data);
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1226,6 +1226,7 @@ class TemplateService
|
|||||||
($this->entity instanceof Credit) => $entity_string = 'credit',
|
($this->entity instanceof Credit) => $entity_string = 'credit',
|
||||||
($this->entity instanceof RecurringInvoice) => $entity_string = 'invoice',
|
($this->entity instanceof RecurringInvoice) => $entity_string = 'invoice',
|
||||||
($this->entity instanceof PurchaseOrder) => $entity_string = 'purchase_order',
|
($this->entity instanceof PurchaseOrder) => $entity_string = 'purchase_order',
|
||||||
|
($this->entity instanceof Payment) => $entity_string = 'payment',
|
||||||
default => $entity_string = 'invoice',
|
default => $entity_string = 'invoice',
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user