From 5c9fa12347a382fad725a734030ff6d9f973be9e Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Fri, 29 May 2026 17:11:42 +0700 Subject: [PATCH] feat: add copy button for PR and PO number --- .../purchase/order/PurchaseOrderDetail.tsx | 46 +++++++++++++++++-- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/src/components/pages/purchase/order/PurchaseOrderDetail.tsx b/src/components/pages/purchase/order/PurchaseOrderDetail.tsx index 8b17a076..e10d2c3c 100644 --- a/src/components/pages/purchase/order/PurchaseOrderDetail.tsx +++ b/src/components/pages/purchase/order/PurchaseOrderDetail.tsx @@ -847,9 +847,25 @@ const PurchaseOrderDetail = ({ Nomor - - : {purchaseData.pr_number} - +
+ + : {purchaseData.pr_number} + + +
@@ -857,11 +873,31 @@ const PurchaseOrderDetail = ({ Nomor PO -
+
{canShowPurchaseOrderInvoice && purchaseData.po_number && purchaseData.po_number !== 'Belum dibuat' ? ( - + <> + + + ) : ( <> : Belum dibuat