From 82bcfbeab8a79b74caad00a57f4aeb3591d838b2 Mon Sep 17 00:00:00 2001
From: Miqdad <ahmadmiqdad27@gmail.com>
Date: Wed, 12 Nov 2025 12:12:16 +0700
Subject: <Miqdad> cart smentara

---
 src-migrate/modules/cart/components/Item.tsx | 8 ++++++++
 1 file changed, 8 insertions(+)

(limited to 'src-migrate/modules/cart/components/Item.tsx')

diff --git a/src-migrate/modules/cart/components/Item.tsx b/src-migrate/modules/cart/components/Item.tsx
index a3aa2ac2..3a02d37c 100644
--- a/src-migrate/modules/cart/components/Item.tsx
+++ b/src-migrate/modules/cart/components/Item.tsx
@@ -15,6 +15,8 @@ import CartItemAction from './ItemAction';
 import CartItemPromo from './ItemPromo';
 import CartItemSelect from './ItemSelect';
 
+import { BadgePercent } from 'lucide-react';
+
 type Props = {
   item: CartItemProps;
   editable?: boolean;
@@ -80,6 +82,12 @@ const CartItem = ({ item, editable = true, selfPicking }: Props) => {
             </div>
           )}
           <CartItem.Name item={item} />
+          {item.cart_type === 'product' && item.voucher_pasti_hemat && (
+            <span className={style.voucherBadge}>
+              <BadgePercent size={14} />
+              Bisa pakai voucher pasti hemat
+            </span>
+          )}
 
           <div className='mt-2 flex justify-between w-full'>
             <div className='flex flex-col gap-y-1'>
-- 
cgit v1.2.3

