don't count 'externe steuerkilometer' as guest kms

This commit is contained in:
philipp 2024-03-20 08:58:51 +01:00
parent 5cedbc078d
commit 9c1bcbc5f5

View File

@ -73,7 +73,8 @@ WHERE u.id NOT IN (
WHERE ro.name = 'Donau Linz'
)
AND l.distance_in_km IS NOT NULL
AND l.arrival LIKE '{year}-%';
AND l.arrival LIKE '{year}-%'
AND u.name != 'Externe Steuerperson';
"
))
.fetch_one(db)