From 4ef92b4d9fea4fdd636d62194514b33ed3b3c387 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 23 May 2025 11:26:04 +0700
Subject: expected ready to ship di quotation

---
 src/lib/transaction/components/Transaction.jsx | 20 +++++++++++++++-----
 1 file changed, 15 insertions(+), 5 deletions(-)

(limited to 'src/lib/transaction/components/Transaction.jsx')

diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx
index 2ca7d386..48bea2bf 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -405,6 +405,11 @@ const Transaction = ({ id }) => {
               <div className='flex justify-end'>
                 <TransactionStatusBadge status={transaction.data?.status} />
               </div>
+            </DescriptionRow>
+             <DescriptionRow label='Status Transaksi'>
+              <div className='flex justify-end font-semibold text-red-500'>
+               {transaction.data?.expectedReadyToShip}
+              </div>
             </DescriptionRow>
             <DescriptionRow label='No Transaksi'>
               {transaction.data?.name}
@@ -615,11 +620,16 @@ const Transaction = ({ id }) => {
                 )}
               </div>
 
-              <div className='flex items-center gap-x-2 mb-3'>
-                <span className='text-h-sm font-medium'>
-                  {transaction?.data?.name}
-                </span>
-                <TransactionStatusBadge status={transaction?.data?.status} />
+              <div className="flex items-center justify-between mb-3">
+                <div className="flex items-center gap-x-2">
+                  <span className="text-h-sm font-medium">
+                    {transaction?.data?.name}
+                  </span>
+                  <TransactionStatusBadge status={transaction?.data?.status} />
+                </div>
+                <div className="text-h-sm">
+                  Estimasi Barang Siap: <span className="text-red-500 font-semibold">{transaction?.data?.expectedReadyToShip}</span>
+                </div>
               </div>
               <div className='flex gap-x-4'>
                 <button
-- 
cgit v1.2.3

