From ac3fdf7be9982e65d8f83a20bc487f8dd62e3bfc Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 22 Feb 2023 23:36:47 +0700 Subject: fix --- src/lib/invoice/components/Invoices.jsx | 31 +++++++++++++++++++++++++------ 1 file changed, 25 insertions(+), 6 deletions(-) (limited to 'src/lib/invoice/components/Invoices.jsx') diff --git a/src/lib/invoice/components/Invoices.jsx b/src/lib/invoice/components/Invoices.jsx index 81521785..ab318a3c 100644 --- a/src/lib/invoice/components/Invoices.jsx +++ b/src/lib/invoice/components/Invoices.jsx @@ -45,7 +45,10 @@ const Invoices = () => { return (
-
+ { value={inputQuery} onChange={(e) => setInputQuery(e.target.value)} /> -
@@ -65,13 +71,19 @@ const Invoices = () => { )} {!invoices.isLoading && invoices.data?.invoices?.length === 0 && ( - + Tidak ada data invoice )} {invoices.data?.invoices?.map((invoice, index) => ( -
+
No. Invoice @@ -83,7 +95,10 @@ const Invoices = () => { ) : (
Lunas
)} - setToOthers(invoice)} /> + setToOthers(invoice)} + />
@@ -128,7 +143,11 @@ const Invoices = () => { className='mt-2 mb-2' /> - setToOthers(null)}> + setToOthers(null)} + >