summaryrefslogtreecommitdiff
path: root/src/lib/product/components
diff options
context:
space:
mode:
authortrisusilo <tri.susilo@altama.co.id>2023-10-05 02:35:16 +0000
committertrisusilo <tri.susilo@altama.co.id>2023-10-05 02:35:16 +0000
commit0e1c49c74b5d2925cfd5fabbbf55c6402e1ad64f (patch)
tree9f9bf6fbc29f97cb4fc0d897dcb813b062bdc63d /src/lib/product/components
parentfaedcf8288466e062b5540046742927573236324 (diff)
parente72c16eb549488e1ed847b022880f542d2a9c525 (diff)
Merged in CR/Pricelist (pull request #87)
add component list product for cart, quotation, and checkout
Diffstat (limited to 'src/lib/product/components')
-rw-r--r--src/lib/product/components/Product/ProductDesktop.jsx4
-rw-r--r--src/lib/product/components/ProductCard.jsx6
2 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/product/components/Product/ProductDesktop.jsx b/src/lib/product/components/Product/ProductDesktop.jsx
index 5e827089..4c8c3ae9 100644
--- a/src/lib/product/components/Product/ProductDesktop.jsx
+++ b/src/lib/product/components/Product/ProductDesktop.jsx
@@ -594,7 +594,7 @@ const ProductDesktop = ({ products, wishlist, toggleWishlist }) => {
</div>{' '}
</div>
<div className=' text-caption-1 text-gray_r-11 mb-1'>
- + PPN:{' '}
+ Inc. PPN:{' '}
{currencyFormat(
variant.price.priceDiscount * process.env.NEXT_PUBLIC_PPN
)}
@@ -608,7 +608,7 @@ const ProductDesktop = ({ products, wishlist, toggleWishlist }) => {
{currencyFormat(variant?.price?.price)}
</div>{' '}
<div className=' text-caption-1 text-gray_r-11 mb-1'>
- + PPN:{' '}
+ Inc. PPN:{' '}
{currencyFormat(
variant?.price?.priceDiscount * process.env.NEXT_PUBLIC_PPN
)}
diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 16c63c00..6a5e29ab 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -113,8 +113,8 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
{product?.lowestPrice.price > 0 ? (
<>
{currencyFormat(product?.lowestPrice.price)}
- <div className='text-gray_r-9 text-[11px] font-normal sm:text-caption-2 mt-2'>
- + PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
+ <div className='text-gray_r-9 text-[10px] font-normal mt-2'>
+ Inc. PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN )}
</div>
</>
) : (
@@ -217,7 +217,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
<>
{currencyFormat(product?.lowestPrice.price)}
<div className='text-gray_r-9 text-[11px] sm:text-caption-2 font-normal mt-2'>
- + PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
+ Inc. PPN: {currencyFormat(product.lowestPrice.price * process.env.NEXT_PUBLIC_PPN)}
</div>
</>
) : (