From 0aa0d458e668520ef96ccf7ecb35bf84a585b279 Mon Sep 17 00:00:00 2001
From: trisusilo48 <tri.susilo@altama.co.id>
Date: Mon, 21 Apr 2025 13:05:57 +0700
Subject: fedback renca

---
 src/lib/transaction/components/Transaction.jsx | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 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 62743df3..3853ea79 100644
--- a/src/lib/transaction/components/Transaction.jsx
+++ b/src/lib/transaction/components/Transaction.jsx
@@ -42,6 +42,7 @@ import { gtagPurchase } from '@/core/utils/googleTag';
 import { deleteItemCart } from '@/core/utils/cart';
 import axios from 'axios';
 import InformationSection from '../../treckingAwb/component/InformationSection';
+import { Button } from '@chakra-ui/react';
 const Transaction = ({ id }) => {
   const PPN = process.env.NEXT_PUBLIC_PPN;
   const router = useRouter();
@@ -759,8 +760,19 @@ const Transaction = ({ id }) => {
                   )}
                   {/* <div className='grid grid-cols-1 gap-1 w-1/2'> */}
                   {transaction?.data?.pickings?.map((airway) => (
-                    <div key={airway?.id} className='border border-gray_r-6 rounded p-3'>
-                      <InformationSection  manifests={airway} />
+                    <div
+                      key={airway?.id}
+                      className='border border-gray_r-6 rounded p-3'
+                    >
+                      <InformationSection
+                        manifests={airway}
+                        source='transaction'
+                      />
+                      <div className='p-4'>
+                        <button className='bg-transparent text-red-600 hover:underline p-0 font-semibold' onClick={() => setIdAWB(airway?.id)}>
+                          Lacak Pegiriman
+                        </button>
+                      </div>
                     </div>
                     // <button
                     //   className='shadow rounded-md p-3 text-gray_r-12 font-normal flex justify-between items-center text-left h-20'
-- 
cgit v1.2.3

