summaryrefslogtreecommitdiff
path: root/src/lib/quotation
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-08-09 10:55:01 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-08-09 10:55:01 +0700
commitbbbd7ccaab3102558dc82cbd051947b0e579360c (patch)
treec2a4c7401c36bbc4b78730487e226fb6e38a63af /src/lib/quotation
parente33a7e612a3c2c871f6a0a84d0d04d6f6ddc357a (diff)
<iman> back to code to avoid conflict
Diffstat (limited to 'src/lib/quotation')
-rw-r--r--src/lib/quotation/components/Quotation.jsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx
index 5f197d16..8855c6c4 100644
--- a/src/lib/quotation/components/Quotation.jsx
+++ b/src/lib/quotation/components/Quotation.jsx
@@ -277,7 +277,9 @@ const Quotation = () => {
estimated_arrival_days: splitDuration(etd),
delivery_service_type: selectedExpedisiService,
};
+ console.log('data checkout', data);
const isSuccess = await checkoutApi({ data });
+ console.log('isSuccess', isSuccess);
setIsLoading(false);
if (isSuccess?.id) {
for (const product of products) deleteItemCart({ productId: product.id });