add sakht and tanafos columns in loan history and sync cartables with backend

This commit is contained in:
2023-12-25 11:32:07 +03:30
parent 3077ed1d63
commit 65a1ed2716
7 changed files with 46 additions and 7 deletions

View File

@@ -7,7 +7,7 @@ const NumberShowBox = ({showNumber, headerTitle, unitTitle}) => {
<Typography
sx={{color: "primary.main", fontWeight: 500}}>{headerTitle}</Typography>
<Typography pt={1}>
{isNaN(showNumber)
{isNaN(showNumber) || showNumber === null
? ""
: (showNumber).toLocaleString()}{" "}
{unitTitle}