diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-09-25 14:34:12 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-09-25 14:34:12 +0700 |
| commit | ea200698d878a54171857421cf20845998b3a228 (patch) | |
| tree | 66b2038f3e27da9ca183d1c0225670373977335d /src/utils | |
| parent | def6c6800d480a863ef4b53956dea2a24f5d037d (diff) | |
<iman> change code name
Diffstat (limited to 'src/utils')
| -rw-r--r-- | src/utils/solrMapping.js | 8 |
1 files changed, 4 insertions, 4 deletions
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; |
