bestellt bei BW auf false wenn keine Rechnung und user nicht

This commit is contained in:
Jens Cornelsen
2025-04-13 19:55:32 +02:00
parent 83727ac71d
commit b8d37d4e38

View File

@@ -10,7 +10,7 @@ const existing_bedarfsausweiswohnen_list = await prisma.bedarfsausweisWohnen.fin
}); });
for (const ausweis of existing_bedarfsausweiswohnen_list) { for (const ausweis of existing_bedarfsausweiswohnen_list) {
if (ausweis.bestellt == true && ausweis.registriernummer == ""){ if (ausweis.bestellt == true && ausweis.benutzer_id != "USCTJ2VV"){
console.log( console.log(
'ID:' + ausweis.id + 'ID:' + ausweis.id +
' Reg.Nr:' + ausweis.registriernummer + ' Reg.Nr:' + ausweis.registriernummer +