From 7ed2913450713655d2e962846d795dc6b4091de4 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 27 Mar 2023 15:17:59 +0700
Subject: cart

---
 src/lib/invoice/components/Invoice.jsx | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

(limited to 'src/lib/invoice/components/Invoice.jsx')

diff --git a/src/lib/invoice/components/Invoice.jsx b/src/lib/invoice/components/Invoice.jsx
index 355f36e5..211d1ae1 100644
--- a/src/lib/invoice/components/Invoice.jsx
+++ b/src/lib/invoice/components/Invoice.jsx
@@ -153,14 +153,7 @@ const Invoice = ({ id }) => {
 
                   <div>Purchase Order</div>
                   <div>
-                    :{' '}
-                    <button
-                      type='button'
-                      className='inline-block text-red_r-11'
-                      onClick={() => downloadInvoice(invoice.data)}
-                    >
-                      Download
-                    </button>
+                    : {invoice?.data?.purchaseOrderName || '-'}
                   </div>
 
                   <div>Ketentuan Pembayaran</div>
-- 
cgit v1.2.3

