Fix: Leistungszeitraum '12 Monate ab Rechnungsdatum' statt festem Datum (SW by-v969)
This commit is contained in:
parent
b14a251bdc
commit
24a1aecda4
4 changed files with 5 additions and 5 deletions
|
|
@ -408,7 +408,7 @@ async def serve_media(path: str, request: _Request):
|
||||||
raise _HE(404, "Nicht gefunden.")
|
raise _HE(404, "Nicht gefunden.")
|
||||||
return _media_response(filepath)
|
return _media_response(filepath)
|
||||||
|
|
||||||
APP_VER = "968" # muss mit APP_VER in app.js übereinstimmen
|
APP_VER = "969" # muss mit APP_VER in app.js übereinstimmen
|
||||||
|
|
||||||
@app.get("/.well-known/assetlinks.json")
|
@app.get("/.well-known/assetlinks.json")
|
||||||
async def assetlinks():
|
async def assetlinks():
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Router, State-Management, Navigation, Initialisierung.
|
Router, State-Management, Navigation, Initialisierung.
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const APP_VER = '968'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
const APP_VER = '969'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
|
||||||
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
|
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
|
||||||
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
const IS_STAGING = location.hostname === 'staging.banyaro.app';
|
||||||
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
// Cache-Bust-Parameter nach Update-Reload sofort entfernen
|
||||||
|
|
|
||||||
|
|
@ -3627,7 +3627,7 @@ window.Page_admin = (() => {
|
||||||
breeder: { description: 'Ban Yaro Züchter Jahresabo', unit_price: 49.00 },
|
breeder: { description: 'Ban Yaro Züchter Jahresabo', unit_price: 49.00 },
|
||||||
};
|
};
|
||||||
const _year = new Date().getFullYear();
|
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 => {
|
el.querySelectorAll('.adm-invoice-btn').forEach(btn => {
|
||||||
btn.addEventListener('click', () => {
|
btn.addEventListener('click', () => {
|
||||||
|
|
@ -3887,7 +3887,7 @@ window.Page_admin = (() => {
|
||||||
<div>
|
<div>
|
||||||
<label class="form-label" style="font-size:var(--text-xs)">Leistungszeitraum <span style="color:var(--c-text-muted)">(optional)</span></label>
|
<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"
|
<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 || '')}">
|
value="${_esc(p.service_period || '')}">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
Offline-Cache + Push Notifications + Tile-Cache
|
Offline-Cache + Push Notifications + Tile-Cache
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
||||||
const CACHE_VERSION = 'by-v968';
|
const CACHE_VERSION = 'by-v969';
|
||||||
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
const CACHE_STATIC = `${CACHE_VERSION}-static`;
|
||||||
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
|
||||||
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue