feat(offers): generate Angebot/Offer PDFs for draft orders
This commit is contained in:
@@ -5,6 +5,10 @@ export type InvoiceLanguage = "de" | "en";
|
||||
export interface InvoiceStrings {
|
||||
invoice: string;
|
||||
stornoInvoice: string;
|
||||
offer: string;
|
||||
offerNumber: string;
|
||||
offerDate: string;
|
||||
offerValidUntil: (until: string) => string;
|
||||
stornoReference: (originalNumber: string) => string;
|
||||
invoiceNumber: string;
|
||||
invoiceDate: string;
|
||||
@@ -53,6 +57,10 @@ export interface InvoiceStrings {
|
||||
const de: InvoiceStrings = {
|
||||
invoice: "Rechnung",
|
||||
stornoInvoice: "Stornorechnung",
|
||||
offer: "Angebot",
|
||||
offerNumber: "Angebots-Nr.",
|
||||
offerDate: "Angebotsdatum",
|
||||
offerValidUntil: (d) => `Dieses Angebot ist gültig bis ${d}.`,
|
||||
stornoReference: (n) => `Storno zu Rechnung Nr. ${n}`,
|
||||
invoiceNumber: "Rechnungs-Nr.",
|
||||
invoiceDate: "Rechnungsdatum",
|
||||
@@ -106,6 +114,10 @@ const de: InvoiceStrings = {
|
||||
const en: InvoiceStrings = {
|
||||
invoice: "Invoice",
|
||||
stornoInvoice: "Cancellation invoice",
|
||||
offer: "Offer",
|
||||
offerNumber: "Offer no.",
|
||||
offerDate: "Offer date",
|
||||
offerValidUntil: (d) => `This offer is valid until ${d}.`,
|
||||
stornoReference: (n) => `Cancels invoice no. ${n}`,
|
||||
invoiceNumber: "Invoice no.",
|
||||
invoiceDate: "Invoice date",
|
||||
|
||||
Reference in New Issue
Block a user