update invoice template

This commit is contained in:
Jonas Heinrich 2023-11-30 12:59:07 +01:00
parent 7db5a8b9ef
commit 0c5807132e

View file

@ -137,6 +137,10 @@
$leistung_von = $custom_fields['invoice']['leistung_von'];
$leistung_bis = $custom_fields['invoice']['leistung_bis'];
if ($leistung_von && $leistung_bis) {
$leistung_von = new DateTime($leistung_von);
$leistung_bis = new DateTime($leistung_bis);
$leistung_von = $leistung_von->format('d.m.Y');
$leistung_bis = $leistung_bis->format('d.m.Y');
echo '<div>Leistungszeitraum: ' . $leistung_von . ' bis ' . $leistung_bis . '</div>';
}
if ($leistungsort) {