summaryrefslogtreecommitdiff
path: root/src/lib/checkout
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-11-11 16:06:01 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-11-11 16:06:01 +0700
commit584e3fd7f4d33992046557ba18ee8eeac993e650 (patch)
tree31a7b3583fd41058d75f46efb66fb40087347e3a /src/lib/checkout
parent3428180259f72c47e88712af6d2ce44d8a82988b (diff)
parentfdd6902a19ee050d97937252ef70bafa8fbe44d9 (diff)
Merge branch 'CR/barang-readyStock' into CR/new_product_detail
Diffstat (limited to 'src/lib/checkout')
-rw-r--r--src/lib/checkout/components/Checkout.jsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 0e180d9c..e83e719c 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -442,6 +442,7 @@ const Checkout = () => {
const productOrder = products.map((product) => ({
product_id: product.id,
quantity: product.quantity,
+ available_quantity: product?.availableQuantity,
}));
let data = {
// partner_shipping_id: auth.partnerId,