feat: add offer

This commit is contained in:
ndsboy 2024-02-09 22:49:12 +01:00
parent a6694920a8
commit ee23d8c3dc

View file

@ -4,6 +4,7 @@
#show: doc => tmpl( #show: doc => tmpl(
title: ( title: (
invoice: "Rechnung", invoice: "Rechnung",
offer: "Angebot",
estimate: "Kostenvoranschlag", estimate: "Kostenvoranschlag",
internal: "Eigenbeleg" internal: "Eigenbeleg"
).at(config.type), ).at(config.type),
@ -35,6 +36,8 @@
] ]
#if config.type == "invoice" [ #if config.type == "invoice" [
Rechnungs-Nr.: #config.invoice_no \ Rechnungs-Nr.: #config.invoice_no \
] else if config.type == "offer" [
Angebots-Nr.: #config.invoice_no \
] ]
] ]
@ -102,7 +105,7 @@
#place(bottom+left)[ #place(bottom+left)[
#if config.type == "invoice" [ #if config.type == "invoice" [
Vielen Dank für deine Bestellung! \ Vielen Dank für deine Bestellung! \
] else if config.type == "estimate" [ ] else if config.type == "estimate" or config.type == "offer" [
Wir freuen uns auf deine Bestellung! \ Wir freuen uns auf deine Bestellung! \
] else if config.type == "internal" [ ] else if config.type == "internal" [
*Grund für Eigenbeleg:* \ *Grund für Eigenbeleg:* \
@ -113,6 +116,8 @@
#if config.type == "invoice" [ #if config.type == "invoice" [
Gesamtbetrag fällig in 10 Tagen ab Rechnungserhalt. \ Gesamtbetrag fällig in 10 Tagen ab Rechnungserhalt. \
Für überfällige Zahlungen wird eine Bearbeitungsgebühr von min. 5 % pro Monat berechnet. Für überfällige Zahlungen wird eine Bearbeitungsgebühr von min. 5 % pro Monat berechnet.
] else if config.type == "offer" [
Dieses Angebot ist für einen Monat gültig.
]else if config.type == "estimate" [ ]else if config.type == "estimate" [
Dieser Kostenvoranschlag ist unverbindlich. Dieser Kostenvoranschlag ist unverbindlich.
] ]