summaryrefslogtreecommitdiff
path: root/src/lib/treckingAwb/component/Manifest.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2025-08-12 15:57:14 +0700
committerit-fixcomart <it@fixcomart.co.id>2025-08-12 15:57:14 +0700
commitcb1bf0046249492094e59107ee5c904a36338eeb (patch)
treed0d233cdc141b39fca0b0b9ec86249ceb874400d /src/lib/treckingAwb/component/Manifest.jsx
parentf5ca1f5652fbbce1955d0a4ace9526eec6ae5210 (diff)
<hafid> Transaction detail
Diffstat (limited to 'src/lib/treckingAwb/component/Manifest.jsx')
-rw-r--r--src/lib/treckingAwb/component/Manifest.jsx25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/treckingAwb/component/Manifest.jsx b/src/lib/treckingAwb/component/Manifest.jsx
index acb86f57..6eb0b0ac 100644
--- a/src/lib/treckingAwb/component/Manifest.jsx
+++ b/src/lib/treckingAwb/component/Manifest.jsx
@@ -223,6 +223,31 @@ const Manifest = ({ idAWB, closePopup }) => {
)
}
</div>
+
+ {/* Barang */}
+ <div className='mt-1'>
+ {Array.isArray(manifests?.products) && manifests.products.length > 0 ? (
+ <div className='flex flex-col gap-4'>
+ {manifests.products.map((product, idx) => (
+ <div key={idx} className='flex gap-4 border-b pb-4'>
+ {/* Gambar Produk */}
+ <img
+ src={product.image}
+ alt={product.name}
+ className='w-16 h-16 object-contain border'
+ />
+ {/* Info Produk */}
+ <div className='flex flex-col flex-1'>
+ <span className='font-semibold'>{product.name}</span>
+ <span className='text-sm text-gray-500'>{product.code}</span>
+ </div>
+ </div>
+ ))}
+ </div>
+ ) : (
+ <span></span>
+ )}
+ </div>
</BottomPopup>
)}
</>