Skip to content
Extraits de code Groupes Projets
Valider c6c41dd9 rédigé par Mohamed Lemine BAILLAHI's avatar Mohamed Lemine BAILLAHI
Parcourir les fichiers

Merge branch 'MS-139' into 'develop'

Additional modification needed

Closes MS-139

See merge request !509
parents 7e77d406 d5452441
1 requête de fusion!509Additional modification needed
......@@ -127,7 +127,7 @@ export default function RefundOrderListView() {
value: '',
label: 'Tous',
color: 'default' as const,
count: totalElements || 0,
count: Object.values(methodCounts).reduce((sum : number, count) => sum + Number(count), 0),
},
{
value: RefundMethod.CREDIT_CARD,
......@@ -147,6 +147,12 @@ export default function RefundOrderListView() {
color: getRefundMethodColor(RefundMethod.MANUAL) as LabelColor,
count: methodCounts[RefundMethod.MANUAL] || 0,
},
{
value: RefundMethod.PAYPLUG,
label: refundMethodLabels[RefundMethod.PAYPLUG],
color: getRefundMethodColor(RefundMethod.PAYPLUG) as LabelColor,
count: methodCounts[RefundMethod.PAYPLUG] || 0,
},
];
const handleFilters = useCallback(
......
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter