diff --git a/shop/components/invoice-pdf.tsx b/shop/components/invoice-pdf.tsx index 7713967..66909b7 100644 --- a/shop/components/invoice-pdf.tsx +++ b/shop/components/invoice-pdf.tsx @@ -103,7 +103,7 @@ export const InvoicePDF = ({ order, orderSnapshot, customer }: any) => { const totalTax = Math.round(totalNet * (taxRate / 100) * 100) / 100; const totalGross = Math.round((totalNet + totalTax) * 100) / 100; - const formattedPrice = (val: number) => + const formattedPrice = (val: number) => new Intl.NumberFormat('de-DE', { style: 'currency', currency: 'EUR' }).format(val); return ( @@ -123,7 +123,7 @@ export const InvoicePDF = ({ order, orderSnapshot, customer }: any) => { - {isSubscription ? 'Vertragsbestätigung (Abonnement)' : 'B2B-Rechnung'} + {isSubscription ? 'Angebot Vertrag B2B' : 'Angebot Vertrag B2B'} @@ -203,7 +203,7 @@ export const InvoicePDF = ({ order, orderSnapshot, customer }: any) => { - {isSubscription ? ( + {isSubscription && ( SEPA-Lastschriftmandat @@ -215,13 +215,6 @@ export const InvoicePDF = ({ order, orderSnapshot, customer }: any) => { )} - ) : ( - - Zahlungsziel - - Zahlbar innerhalb von 14 Tagen nach Erhalt dieser Rechnung ohne Abzug. - - )}