generalize CMS order invoice payment panel for multi-crypto invoices.

This commit is contained in:
2026-09-06 16:07:44 +02:00
parent 35052661f8
commit 7640f5d74d
5 changed files with 23 additions and 20 deletions
+1
View File
@@ -4,6 +4,7 @@ import type { InvoiceStatusLabel } from './InvoiceStatusLabel';
export type InvoiceExtended = Omit<Invoice, 'payments'> & {
statusLabel: InvoiceStatusLabel | null;
paymentLabel: string;
expectedTotalCrypto: string;
payments: InvoicePaymentExtended[];
};
-5
View File
@@ -2,8 +2,3 @@ export enum PaymentMethod {
Xmr = 'xmr',
Btc = 'btc'
}
export const paymentMethodCryptoCurrency: Record<PaymentMethod, string> = {
[PaymentMethod.Xmr]: 'XMR',
[PaymentMethod.Btc]: 'BTC'
};