Fix: Leistungszeitraum '12 Monate ab Rechnungsdatum' statt festem Datum (SW by-v969)

This commit is contained in:
rene 2026-05-15 11:45:13 +02:00
parent b14a251bdc
commit 24a1aecda4
4 changed files with 5 additions and 5 deletions

View file

@ -3627,7 +3627,7 @@ window.Page_admin = (() => {
breeder: { description: 'Ban Yaro Züchter Jahresabo', unit_price: 49.00 },
};
const _year = new Date().getFullYear();
const _period = `01.01.${_year} 31.12.${_year}`;
const _period = '12 Monate ab Rechnungsdatum';
el.querySelectorAll('.adm-invoice-btn').forEach(btn => {
btn.addEventListener('click', () => {
@ -3887,7 +3887,7 @@ window.Page_admin = (() => {
<div>
<label class="form-label" style="font-size:var(--text-xs)">Leistungszeitraum <span style="color:var(--c-text-muted)">(optional)</span></label>
<input class="form-control" name="service_period" type="text"
placeholder="01.01.2026 31.12.2026"
placeholder="z.B. 12 Monate ab Rechnungsdatum"
value="${_esc(p.service_period || '')}">
</div>