mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Merge pull request #4446 from beganovich/v5-support-for-entity-footers
(v5) Support for entity strings on PDFs
This commit is contained in:
commit
76b6fe4979
@ -307,7 +307,7 @@ class HtmlEngine
|
||||
|
||||
$data['$task.date'] = ['value' => '', 'label' => ctrans('texts.date')];
|
||||
$data['$task.discount'] = ['value' => '', 'label' => ctrans('texts.discount')];
|
||||
$data['$task.product_key'] = ['value' => '', 'label' => ctrans('texts.product_key')];
|
||||
$data['$task.service'] = ['value' => '', 'label' => ctrans('texts.service')];
|
||||
$data['$task.description'] = ['value' => '', 'label' => ctrans('texts.description')];
|
||||
$data['$task.rate'] = ['value' => '', 'label' => ctrans('texts.rate')];
|
||||
$data['$task.hours'] = ['value' => '', 'label' => ctrans('texts.hours')];
|
||||
@ -343,6 +343,8 @@ class HtmlEngine
|
||||
$data['$item'] = ['value' => '', 'label' => ctrans('texts.item')];
|
||||
$data['$description'] = ['value' => '', 'label' => ctrans('texts.description')];
|
||||
|
||||
$data['$entity_footer'] = ['value' => $this->client->getSetting("{$this->entity_string}_footer"), 'label' => ''];
|
||||
|
||||
// $data['custom_label1'] = ['value' => '', 'label' => ctrans('texts.')];
|
||||
// $data['custom_label2'] = ['value' => '', 'label' => ctrans('texts.')];
|
||||
// $data['custom_label3'] = ['value' => '', 'label' => ctrans('texts.')];
|
||||
|
@ -206,4 +206,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -248,4 +248,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -189,4 +189,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -213,4 +213,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -217,5 +217,5 @@
|
||||
<p class="thanks-label">$thanks_label!</p>
|
||||
<hr class="double-border"/>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
||||
|
@ -243,4 +243,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -217,7 +217,7 @@
|
||||
<div style="margin-top: 195px"></div>
|
||||
<div class="footer-wrapper" id="footer">
|
||||
<div class="footer-content">
|
||||
<div></div>
|
||||
<div>$entity_footer</div>
|
||||
<div id="company-details"></div>
|
||||
<div id="company-address"></div>
|
||||
</div>
|
||||
|
@ -162,4 +162,4 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
@ -231,5 +231,5 @@
|
||||
<table id="delivery-note-table" cellspacing="0"></table>
|
||||
</div>
|
||||
|
||||
<div id="footer"></div>
|
||||
<div id="footer">$entity_footer</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user