From 13b9b5dd101e6dba13ddcf04aff42cfb4156c4d8 Mon Sep 17 00:00:00 2001 From: it-fixcomart Date: Sat, 16 Nov 2024 09:50:43 +0700 Subject: update --- src/lib/tempo/components/Tempo.jsx | 42 ++++++++++++++++++++++++++++++-------- 1 file changed, 34 insertions(+), 8 deletions(-) (limited to 'src/lib/tempo/components') diff --git a/src/lib/tempo/components/Tempo.jsx b/src/lib/tempo/components/Tempo.jsx index bfeddfbb..8fb55147 100644 --- a/src/lib/tempo/components/Tempo.jsx +++ b/src/lib/tempo/components/Tempo.jsx @@ -116,7 +116,7 @@ const Tempo = () => { isLoaded={!isLoading} h='fit' w={32} - className='badge-solid-green px-2 text-sm flex items-center justify-center font-thin' + className='badge-solid-green px-1 text-sm flex items-center justify-center font-thin' > {' '} {tempo.paymentTerm} @@ -125,7 +125,7 @@ const Tempo = () => {
-

Limit Tempo Terpakai

+

Kredit Limit Terpakai

{
-

Limit Tempo

+

Sisa Kredit Limit

+ + {currencyFormat(Math.round(parseInt(limitTempo - amountDue)))} + +
+
+

Kredit Limit

{ {invoice.invoiceDateDue} {invoice.amountResidual > 0 ? ( -
- {new Date() > getDueDate(invoice.invoiceDateDue) - ? 'Jatuh Tempo' - : 'Belum Lunas'} -
+ new Date() > getDueDate(invoice.invoiceDateDue) ? ( +
+ Jatuh Tempo +
+ ) : ( +
+ Belum Lunas +
+ ) ) : (
Lunas @@ -304,6 +319,17 @@ const Tempo = () => { {currencyFormat(amountDue)}
+
+

Sisa Kredit Limit

+ + {currencyFormat(Math.round(parseInt(limitTempo - amountDue)))} + +

Limit Tempo