From ba9b9f01cf8ccc5bb636a55fdb5e853b2502f5a6 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Tue, 9 May 2023 15:13:28 +0700 Subject: show date order, po, customer name on transaction menu --- src/lib/transaction/components/Transactions.jsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src/lib/transaction') diff --git a/src/lib/transaction/components/Transactions.jsx b/src/lib/transaction/components/Transactions.jsx index bfb8c66b..c1c27a51 100644 --- a/src/lib/transaction/components/Transactions.jsx +++ b/src/lib/transaction/components/Transactions.jsx @@ -224,7 +224,9 @@ const Transactions = ({ context = '' }) => { No. Transaksi + No. PO Tanggal + Created By Salesperson Total Status @@ -233,7 +235,7 @@ const Transactions = ({ context = '' }) => { {transactions.isLoading && ( - +
@@ -244,7 +246,7 @@ const Transactions = ({ context = '' }) => { (!transactions?.data?.saleOrders || transactions?.data?.saleOrders?.length == 0) && ( - Tidak ada data transaksi + Tidak ada data transaksi )} {transactions.data?.saleOrders?.map((saleOrder) => ( @@ -252,7 +254,9 @@ const Transactions = ({ context = '' }) => { {saleOrder.name} - - + {saleOrder.purchaseOrderName || '-'} + {saleOrder.dateOrder || '-'} + {saleOrder.address.customer?.name || '-'} {saleOrder.sales} {currencyFormat(saleOrder.amountTotal)} -- cgit v1.2.3 From b027c12d678698a9b8adcf4508a6160321c8172a Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Wed, 10 May 2023 15:11:55 +0700 Subject: Feature rfq, social media url, widget whatsapp offset --- src/lib/transaction/components/Transaction.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/transaction') diff --git a/src/lib/transaction/components/Transaction.jsx b/src/lib/transaction/components/Transaction.jsx index 30bb454a..7a1e0dd7 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -34,11 +34,11 @@ const Transaction = ({ id }) => { const file = poFile.current.files[0] const name = poNumber.current.value if (typeof file === 'undefined' || !name) { - toast.error('Nomor dan Dokumen PO harus diisi', { position: 'bottom-center' }) + toast.error('Nomor dan Dokumen PO harus diisi') return } if (file.size > 5000000) { - toast.error('Maksimal ukuran file adalah 5MB', { position: 'bottom-center' }) + toast.error('Maksimal ukuran file adalah 5MB') return } const data = { name, file: await getFileBase64(file) } -- cgit v1.2.3