@apptimate/ui 2.9.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -84,7 +84,7 @@ export function PaymentSection({ totalAmount, payments, onPaymentsChange, compac
|
|
|
84
84
|
try {
|
|
85
85
|
const [modesRes, bankRes] = await Promise.all([fetchPaymentModes(), fetchBankAccounts()]);
|
|
86
86
|
const modesRaw: PaymentMode[] = modesRes.is_success ? (modesRes.result || []) : [];
|
|
87
|
-
const SPECIAL_MODES = ["credit-gold"];
|
|
87
|
+
const SPECIAL_MODES = ["credit-gold", "credit-metal"];
|
|
88
88
|
const modes = modesRaw.filter((m) => !SPECIAL_MODES.includes(m.code) || allowedSpecialModes.includes(m.code));
|
|
89
89
|
setPaymentModes(modes);
|
|
90
90
|
if (bankRes.is_success) setBankAccounts(bankRes.result || []);
|