From 60a77de3b8c0ec8ad7a5b2f25e63485448df352f Mon Sep 17 00:00:00 2001 From: dev-rminds Date: Wed, 17 Dec 2025 16:20:02 +0200 Subject: [PATCH 1/4] fix voucher amount comparison for csv pre validations --- .../components/modals/ModalPrevalidationsUpload.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/react/src/dashboard/components/modals/ModalPrevalidationsUpload.tsx b/react/src/dashboard/components/modals/ModalPrevalidationsUpload.tsx index bf0ad5448..f37a4ca2f 100644 --- a/react/src/dashboard/components/modals/ModalPrevalidationsUpload.tsx +++ b/react/src/dashboard/components/modals/ModalPrevalidationsUpload.tsx @@ -569,15 +569,15 @@ export default function ModalPrevalidationsUpload({ } if (dbItem.vouchers.length === 1) { - if (dbItem.vouchers[0]?.amount > csvItem.records_amount) { + if (parseFloat(dbItem.vouchers[0]?.amount) > parseFloat(csvItem.records_amount)) { list.less_amount.push({ ...csvItem, db: dbItem }); } - if (dbItem.vouchers[0]?.amount === csvItem.records_amount) { + if (parseFloat(dbItem.vouchers[0]?.amount) === parseFloat(csvItem.records_amount)) { list.same_amount.push({ ...csvItem, db: dbItem }); } - if (dbItem.vouchers[0]?.amount < csvItem.records_amount) { + if (parseFloat(dbItem.vouchers[0]?.amount) < parseFloat(csvItem.records_amount)) { list.top_up.push({ ...csvItem, db: dbItem }); } } From 7ff210f48dbcb605926e69d08c7667ce2210c47a Mon Sep 17 00:00:00 2001 From: dev-rminds Date: Thu, 18 Dec 2025 15:35:03 +0200 Subject: [PATCH 2/4] remove wrong product category icon from product page --- .../src/webshop/components/pages/products-show/ProductsShow.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/react/src/webshop/components/pages/products-show/ProductsShow.tsx b/react/src/webshop/components/pages/products-show/ProductsShow.tsx index 33fc86e8d..36e0cedde 100644 --- a/react/src/webshop/components/pages/products-show/ProductsShow.tsx +++ b/react/src/webshop/components/pages/products-show/ProductsShow.tsx @@ -234,7 +234,6 @@ export default function ProductsShow() { {product.name}
-