VA On-Screen Checks
This commit is contained in:
11
src/components/Verbrauchsausweis/audits/LeerStand.ts
Normal file
11
src/components/Verbrauchsausweis/audits/LeerStand.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
import { GebaeudeAufnahmeClient } from "#components/Ausweis/types";
|
||||
|
||||
export function auditLeerStand(gebaeude: GebaeudeAufnahmeClient ): boolean {
|
||||
if (gebaeude.leerstand ) {
|
||||
return (
|
||||
(gebaeude.leerstand > 30)
|
||||
);
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
Reference in New Issue
Block a user