Compare commits

...

2 commits

Author SHA1 Message Date
b12f d59893ebcb
Merge pull request 'Improve check for non-existent variables' (#2) from custom-field-check-with-isset into main
Reviewed-on: #2
Reviewed-by: teutat3s <teutat3s@noreply.git.pub.solar>
Reviewed-by: b12f <b12f@noreply.git.pub.solar>
2024-08-15 14:17:20 +00:00
hensoko d8fb72b1b1
Update momo.php 2024-08-15 10:55:41 +02:00

View file

@ -229,7 +229,7 @@ footer .notes {
<p class="invoice-meta"> <p class="invoice-meta">
Rechnungsnummer: <?php echo $invoice->invoice_number; ?><br /> Rechnungsnummer: <?php echo $invoice->invoice_number; ?><br />
<?php if ($custom_fields['invoice']['Leistungszeitraum-Anfang'] && $custom_fields['invoice']['Leistungszeitraum-Ende']): ?> <?php if (isset($custom_fields['invoice']['Leistungszeitraum-Anfang']) && isset($custom_fields['invoice']['Leistungszeitraum-Ende'])): ?>
Leistungszeitraum: Leistungszeitraum:
<?php echo date_from_mysql($custom_fields['invoice']['Leistungszeitraum-Anfang'], true); ?> <?php echo date_from_mysql($custom_fields['invoice']['Leistungszeitraum-Anfang'], true); ?>
- -
@ -237,7 +237,7 @@ footer .notes {
<?php endif; ?> <?php endif; ?>
</p> </p>
<?php if ($custom_fields['invoice']['Beschreibung']): ?> <?php if (isset($custom_fields['invoice']['Beschreibung'])): ?>
<p> <p>
<?php echo $custom_fields['invoice']['Beschreibung']; ?> <?php echo $custom_fields['invoice']['Beschreibung']; ?>
</p> </p>