Ausweis gespeichert

This commit is contained in:
Moritz Utcke
2025-03-15 20:05:48 -03:00
parent 5b6c0c7d97
commit de94e1ba6d
8 changed files with 10 additions and 16 deletions

View File

@@ -44,7 +44,7 @@ export async function sendInvoiceMail(
const id = shortenUID(ausweis.uid)
if (ausweisart != Enums.Ausweisart.BedarfsausweisWohnen) {
if (ausweisart != Enums.Ausweisart.BedarfsausweisWohnen && rechnung.ausweistyp === Enums.AusweisTyp.Standard) {
const ansichtsausweis = await getAnsichtsausweis(
ausweis,
aufnahme,

View File

@@ -43,7 +43,7 @@ export async function sendPaymentSuccessMail(
const id = shortenUID(ausweis.uid)
if (ausweisart != Enums.Ausweisart.BedarfsausweisWohnen) {
if (ausweisart != Enums.Ausweisart.BedarfsausweisWohnen && rechnung.ausweistyp === Enums.AusweisTyp.Standard) {
const ansichtsausweis = await getAnsichtsausweis(
ausweis,
aufnahme,