mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-05 18:52:44 +01:00
Merge pull request #4939 from beganovich/v5-1802-fix-pdf-values-issue
(v5) Fixes for tests
This commit is contained in:
commit
1d17b8c339
@ -423,7 +423,7 @@ class Design extends BaseDesign
|
||||
{
|
||||
$_variables = array_key_exists('variables', $this->context)
|
||||
? $this->context['variables']
|
||||
: [];
|
||||
: ['values' => ['$entity.public_notes' => nl2br($this->entity->public_notes), '$entity.terms' => $this->entity->terms, '$entity_footer' => $this->entity->footer], 'labels' => []];
|
||||
|
||||
if ($this->type == 'delivery_note') {
|
||||
return [];
|
||||
|
Loading…
Reference in New Issue
Block a user