update footer
This commit is contained in:
parent
a8c272a2d6
commit
a779ea08aa
1 changed files with 5 additions and 11 deletions
|
|
@ -130,9 +130,9 @@
|
||||||
<h1 class="invoice-title"><?php echo trans('invoice') . ' ' . $invoice->invoice_number; ?></h1>
|
<h1 class="invoice-title"><?php echo trans('invoice') . ' ' . $invoice->invoice_number; ?></h1>
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
$leistungsort = $custom_fields['invoice']['leistung_ort'];
|
$leistungsort = $custom_fields['invoice']['leistung_ort'] ?? null;
|
||||||
$leistung_von = $custom_fields['invoice']['leistung_von'];
|
$leistung_von = $custom_fields['invoice']['leistung_von'] ?? null;
|
||||||
$leistung_bis = $custom_fields['invoice']['leistung_bis'];
|
$leistung_bis = $custom_fields['invoice']['leistung_bis'] ?? null;
|
||||||
if ($leistung_von && $leistung_bis) {
|
if ($leistung_von && $leistung_bis) {
|
||||||
$leistung_von = new DateTime($leistung_von);
|
$leistung_von = new DateTime($leistung_von);
|
||||||
$leistung_bis = new DateTime($leistung_bis);
|
$leistung_bis = new DateTime($leistung_bis);
|
||||||
|
|
@ -260,14 +260,8 @@
|
||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer>
|
<sethtmlpagefooter name="defaultFooter" value="on" />
|
||||||
<?php if ($invoice->invoice_terms) : ?>
|
<sethtmlpagefooter name="footerWithPageNumbers" value="on" />
|
||||||
<div class="notes">
|
|
||||||
<b><?php _trans('terms'); ?></b><br/>
|
|
||||||
<?php echo nl2br(htmlsc($invoice->invoice_terms)); ?>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue