From 1904419f7aa7d2c6ee8644166e270703e969d4b2 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Thu, 13 Mar 2025 15:10:18 +0700 Subject: update mobile --- src/lib/transaction/components/Transaction.jsx | 84 +++++++++++++++++++++++++- 1 file changed, 81 insertions(+), 3 deletions(-) (limited to 'src/lib') diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index 8369c425..2e328a7e 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -17,6 +17,7 @@ import getFileBase64 from '@/core/utils/getFileBase64'; import currencyFormat from '@/core/utils/currencyFormat'; import VariantGroupCard from '@/lib/variant/components/VariantGroupCard'; import { + EllipsisVerticalIcon, ChevronDownIcon, ChevronRightIcon, ChevronUpIcon, @@ -61,6 +62,7 @@ const Transaction = ({ id }) => { const openUploadPo = () => setUploadPo(true); const closeUploadPo = () => setUploadPo(false); const [copied, setCopied] = useState(false); + const [toOthers, setToOthers] = useState(null); const submitUploadPo = async () => { const file = poFile.current.files[0]; const name = poNumber.current.value; @@ -418,9 +420,74 @@ const Transaction = ({ id }) => { + + setToOthers(null)} + > +
+ + + +
+
+ +
+
+ + setIdAWB(transaction?.data?.pickings[0]?.id)} + > + Lihat Detail + +
+
{auth?.feature?.soApproval && ( { /> )}
+ +
+
+
Pengiriman
+ +
+
+ setToOthers(transaction?.data)} + /> +
+
-
- -
+
{transaction.data?.name} -- cgit v1.2.3