update invoice template
This commit is contained in:
parent
7db5a8b9ef
commit
0c5807132e
1 changed files with 5 additions and 1 deletions
|
|
@ -137,6 +137,10 @@
|
||||||
$leistung_von = $custom_fields['invoice']['leistung_von'];
|
$leistung_von = $custom_fields['invoice']['leistung_von'];
|
||||||
$leistung_bis = $custom_fields['invoice']['leistung_bis'];
|
$leistung_bis = $custom_fields['invoice']['leistung_bis'];
|
||||||
if ($leistung_von && $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>';
|
echo '<div>Leistungszeitraum: ' . $leistung_von . ' bis ' . $leistung_bis . '</div>';
|
||||||
}
|
}
|
||||||
if ($leistungsort) {
|
if ($leistungsort) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue