From d4f59658ab714325f7ff679997c22b306e766d5c Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 11 Oct 2024 15:46:55 +0700
Subject: <iman> add penawaran instan

---
 src-migrate/modules/product-detail/components/PriceAction.tsx | 9 +++++++++
 1 file changed, 9 insertions(+)

(limited to 'src-migrate/modules/product-detail/components/PriceAction.tsx')

diff --git a/src-migrate/modules/product-detail/components/PriceAction.tsx b/src-migrate/modules/product-detail/components/PriceAction.tsx
index 9021264e..a69e896c 100644
--- a/src-migrate/modules/product-detail/components/PriceAction.tsx
+++ b/src-migrate/modules/product-detail/components/PriceAction.tsx
@@ -5,6 +5,7 @@ import formatCurrency from '~/libs/formatCurrency';
 import { IProductDetail } from '~/types/product';
 import { useProductDetail } from '../stores/useProductDetail';
 import AddToCart from './AddToCart';
+import AddToQuotation from './AddToQuotation';
 import Link from 'next/link';
 import { getAuth } from '~/libs/auth';
 
@@ -110,6 +111,14 @@ const PriceAction = ({ product }: Props) => {
           />
         )}
       </div>
+      <div className='mt-4'>
+        <AddToQuotation
+          source='buy'
+          products={product}
+          variantId={activeVariantId}
+          quantity={Number(quantityInput)}
+        />
+      </div>
     </div>
   );
 };
-- 
cgit v1.2.3

