Ticket Plausibilitätsprüfung

This commit is contained in:
Carl Mahnke
2024-03-18 11:45:05 +01:00
parent df8fa9cce1
commit cc5032e0e1
13 changed files with 323 additions and 109 deletions

View File

@@ -1,8 +1,5 @@
import { GebaeudeClient, VerbrauchsausweisWohnenClient } from "#components/Ausweis/types";
import { AuditType, hidden } from "./hidden";
import { prisma } from "@ibcornelsen/database/server";
import { client } from "src/trpc";
import moment from "moment";
import { getKlimafaktoren } from "#lib/Klimafaktoren";
export async function auditKlimaFaktoren(ausweis: VerbrauchsausweisWohnenClient, gebaeude: GebaeudeClient): Promise<boolean> {