ADD: added some quiality of life features

This commit is contained in:
hwinkel
2026-03-15 19:53:11 +01:00
parent f5b259cae2
commit 40a2764dd0
30 changed files with 1397 additions and 51 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ export async function loader({ request, params }: { request: Request; params: {
status: 200,
headers: {
"Content-Type": "application/pdf",
"Content-Disposition": `attachment; filename="rechnung-${invoice.number}.pdf"`,
"Content-Disposition": `attachment; filename="rechnung-${invoice.number ?? invoice.id}.pdf"`,
},
});
}