From ea200698d878a54171857421cf20845998b3a228 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Wed, 25 Sep 2024 14:34:12 +0700 Subject: change code name --- src/utils/solrMapping.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/utils') diff --git a/src/utils/solrMapping.js b/src/utils/solrMapping.js index fad1263a..f73e966a 100644 --- a/src/utils/solrMapping.js +++ b/src/utils/solrMapping.js @@ -85,10 +85,10 @@ export const productMappingSolr = (products, pricelist) => { ]; productMapped.newVoucherPastiHemat = [ { - min_purchase: product.min_purchase_f || 0, - discount_type: product.discount_type_s || '', - discount_amount: product.discount_amount_f || 0, - max_discount: product.max_discount_f || 0, + min_purchase: product.voucher_min_purchase_f || 0, + discount_type: product.voucher_discount_type_s || '', + discount_amount: product.voucher_discount_amount_f || 0, + max_discount: product.voucher_max_discount_f || 0, }, ]; return productMapped; -- cgit v1.2.3