- |
+ |
{cn.creditNoteNumber}
|
-
+ |
{t(`creditNoteKind_${cn.kind}` as any)}
|
-
+ |
CHF {cn.amountChf.toFixed(2)}
|
-
+ |
{cn.reason ?? "—"}
|
-
+ |
{cn.issuedAt.slice(0, 10)}
|
diff --git a/src/components/billing/customer-credit-note-list.tsx b/src/components/billing/customer-credit-note-list.tsx
index 62275c8..159896c 100644
--- a/src/components/billing/customer-credit-note-list.tsx
+++ b/src/components/billing/customer-credit-note-list.tsx
@@ -39,11 +39,11 @@ export function CustomerCreditNoteList({ creditNotes }: Props) {
- | {t("creditNoteNumberCol")} |
- {t("creditNoteInvoiceCol")} |
- {t("creditNoteIssuedCol")} |
- {t("creditNoteAmountCol")} |
- {t("creditNoteKindCol")} |
+ {t("creditNoteNumberCol")} |
+ {t("creditNoteInvoiceCol")} |
+ {t("creditNoteIssuedCol")} |
+ {t("creditNoteAmountCol")} |
+ {t("creditNoteKindCol")} |
{t("creditNotePdfCol")} |
@@ -53,19 +53,19 @@ export function CustomerCreditNoteList({ creditNotes }: Props) {
key={cn.id}
className="border-t border-border align-middle"
>
-
+ |
{cn.creditNoteNumber}
|
-
+ |
{cn.invoiceNumber}
|
-
+ |
{fmt.dateTime(new Date(cn.issuedAt), { dateStyle: "medium" })}
|
-
+ |
CHF {cn.amountChf.toFixed(2)}
|
-
+ |
| |