summaryrefslogtreecommitdiff
path: root/src/lib/checkout/components
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-10-05 09:32:12 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-10-05 09:32:12 +0700
commite72c16eb549488e1ed847b022880f542d2a9c525 (patch)
tree9f9bf6fbc29f97cb4fc0d897dcb813b062bdc63d /src/lib/checkout/components
parent427feacedcdc511fcead8d2289264aa58bafd038 (diff)
add component list product for cart, quotation, and checkout
Diffstat (limited to 'src/lib/checkout/components')
-rw-r--r--src/lib/checkout/components/Checkout.jsx8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 4739cd18..6b7852f2 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -32,6 +32,7 @@ import BottomPopup from '@/core/components/elements/Popup/BottomPopup'
import { useQuery } from 'react-query'
import { gtagPurchase } from '@/core/utils/googleTag'
import { findVoucher, getVoucher } from '../api/getVoucher'
+import CardProdcuctsList from '@/core/components/elements/Product/cartProductsList'
const SELF_PICKUP_ID = 32
@@ -988,7 +989,10 @@ const Checkout = () => {
<div className='p-4'>
<div className='font-medium'>Detail Pesanan</div>
- <table className='table-checkout'>
+
+ <CardProdcuctsList isLoading={isLoading} products={products} />
+
+ {/* <table className='table-checkout'>
<thead>
<tr>
<th>Nama Produk</th>
@@ -1148,7 +1152,7 @@ const Checkout = () => {
))
)}
</tbody>
- </table>
+ </table> */}
</div>
</div>
<div className='w-1/4 pl-4'>