summaryrefslogtreecommitdiff
path: root/src/lib/quotation/components
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-11-12 07:36:02 +0000
commitefc1ab22528dac05d3ad89a7506349eb3b553539 (patch)
tree31a7b3583fd41058d75f46efb66fb40087347e3a /src/lib/quotation/components
parentbf668785232e2d7abba1660dfdb6eb2746adc09a (diff)
parent584e3fd7f4d33992046557ba18ee8eeac993e650 (diff)
Merged in CR/new_product_detail (pull request #378)
CR/new product detail
Diffstat (limited to 'src/lib/quotation/components')
-rw-r--r--src/lib/quotation/components/Quotation.jsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx
index cf0ad41f..5a2f63a5 100644
--- a/src/lib/quotation/components/Quotation.jsx
+++ b/src/lib/quotation/components/Quotation.jsx
@@ -39,9 +39,12 @@ const { getProductsCheckout } = require('@/lib/checkout/api/checkoutApi');
const Quotation = () => {
const router = useRouter();
const auth = useAuth();
+ const query = router.query.source ?? null;
const { data: cartCheckout } = useQuery('cartCheckout', () =>
- getProductsCheckout()
+ getProductsCheckout({
+ source: query,
+ })
);
const { setRefreshCart } = useProductCartContext();