diff options
| author | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-26 11:57:44 +0700 |
|---|---|---|
| committer | trisusilo48 <tri.susilo@altama.co.id> | 2024-11-26 11:57:44 +0700 |
| commit | 038d1db4d1ed4839a329128b425649d60146d096 (patch) | |
| tree | 386a6a5f42e2327e5613ce64dedbe2acc5331e08 /src/utils/solrMapping.js | |
| parent | 821d218ff687a585c99937948989408541b596e4 (diff) | |
| parent | f254d47618ddfd2c1e37a51562b9728d62bd8eb6 (diff) | |
Merge branch 'new-release' into feature/integrasi_biteship
Diffstat (limited to 'src/utils/solrMapping.js')
| -rw-r--r-- | src/utils/solrMapping.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/utils/solrMapping.js b/src/utils/solrMapping.js index 01a8587c..ecd62be2 100644 --- a/src/utils/solrMapping.js +++ b/src/utils/solrMapping.js @@ -75,7 +75,7 @@ export const productMappingSolr = (products, pricelist) => { name: product.manufacture_name_s || '', imagePromotion1: product.image_promotion_1_s || '', imagePromotion2: product.image_promotion_2_s || '', - logo : product.x_logo_manufacture_s || '', + logo: product.x_logo_manufacture_s || '', }; } @@ -129,13 +129,14 @@ export const variantsMappingSolr = (parent, products, pricelist) => { manufacture: {}, parent: {}, qtySold: product?.qty_sold_f || 0, + is_in_bu: product?.is_in_bu_b || false, }; if (product.manufacture_id_i && product.manufacture_name_s) { productMapped.manufacture = { id: product.manufacture_id_i || '', name: product.manufacture_name_s || '', - logo : parent[0]?.x_logo_manufacture_s + logo: parent[0]?.x_logo_manufacture_s, }; } productMapped.parent = { |
