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/transaction/components/Transaction.jsx | 61 +++++++++++++++++++++----- 1 file changed, 50 insertions(+), 11 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 17eacd45..7da33551 100644 --- a/src/lib/transaction/components/Transaction.jsx +++ b/src/lib/transaction/components/Transaction.jsx @@ -120,7 +120,10 @@ const Transaction = ({ id }) => {
Detail Produk
- +

Total Belanja

{currencyFormat(transaction.data?.amountTotal)}

@@ -137,7 +140,10 @@ const Transaction = ({ id }) => {

Invoice

{transaction.data?.invoices?.map((invoice, index) => ( - +

{invoice?.name}

@@ -157,7 +163,10 @@ const Transaction = ({ id }) => { ))} {transaction.data?.invoices?.length === 0 && ( - + Belum ada Invoice )} @@ -168,7 +177,10 @@ const Transaction = ({ id }) => {
{transaction.data?.status == 'draft' && ( - )} @@ -207,26 +219,50 @@ const Transaction = ({ id }) => { > Ya, Batalkan -
- +
- +
- +
- -
@@ -279,7 +315,10 @@ const SectionAddress = ({ address }) => { } const SectionButton = ({ label, active, toggle }) => ( - -- cgit v1.2.3