Merge remote-tracking branch 'origin/main' into dev
This commit is contained in:
@@ -67,9 +67,11 @@ export const GET = defineApiRoute({
|
||||
|
||||
const rechnung = await prisma.rechnung.findFirst({
|
||||
where: {
|
||||
verbrauchsausweis_wohnen: {
|
||||
id: id_ausweis,
|
||||
},
|
||||
OR: [
|
||||
{ bedarfsausweis_wohnen: { id: id_ausweis } },
|
||||
{ verbrauchsausweis_wohnen: { id: id_ausweis } },
|
||||
{ verbrauchsausweis_gewerbe: { id: id_ausweis } }
|
||||
]
|
||||
},
|
||||
orderBy: {
|
||||
erstellt_am: "desc",
|
||||
|
||||
Reference in New Issue
Block a user