don't count 'externe steuerkilometer' as guest kms
This commit is contained in:
parent
5cedbc078d
commit
9c1bcbc5f5
@ -73,7 +73,8 @@ WHERE u.id NOT IN (
|
|||||||
WHERE ro.name = 'Donau Linz'
|
WHERE ro.name = 'Donau Linz'
|
||||||
)
|
)
|
||||||
AND l.distance_in_km IS NOT NULL
|
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)
|
.fetch_one(db)
|
||||||
|
Loading…
Reference in New Issue
Block a user