From cb1bf0046249492094e59107ee5c904a36338eeb Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Tue, 12 Aug 2025 15:57:14 +0700 Subject: Transaction detail --- .../treckingAwb/component/InformationSection.jsx | 4 ++++ src/lib/treckingAwb/component/Manifest.jsx | 25 ++++++++++++++++++++++ 2 files changed, 29 insertions(+) (limited to 'src/lib/treckingAwb') diff --git a/src/lib/treckingAwb/component/InformationSection.jsx b/src/lib/treckingAwb/component/InformationSection.jsx index a2297af3..4b3bd5fb 100644 --- a/src/lib/treckingAwb/component/InformationSection.jsx +++ b/src/lib/treckingAwb/component/InformationSection.jsx @@ -69,6 +69,10 @@ const InformationSection = ({ manifests }) => { {manifests?.eta} +
+ Total Product + : {Array.isArray(manifests?.products) ? manifests.products.length : 0} Product +
); 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 }) => { ) } + + {/* Barang */} +
+ {Array.isArray(manifests?.products) && manifests.products.length > 0 ? ( +
+ {manifests.products.map((product, idx) => ( +
+ {/* Gambar Produk */} + {product.name} + {/* Info Produk */} +
+ {product.name} + {product.code} +
+
+ ))} +
+ ) : ( + + )} +
)} -- cgit v1.2.3