formatting

This commit is contained in:
AmirHossein Mahmoodi
2025-04-20 13:31:44 +03:30
parent 4f5f3156c2
commit 8e1a864224
2 changed files with 9 additions and 5 deletions

View File

@@ -140,7 +140,11 @@ const CreateFactorContent = ({ row, mutate, rowId, setOpenCreateFactorDialog })
</Box>
<Divider sx={{ flex: 1, mx: 2 }} />
<Typography variant="h5" sx={{ fontWeight: 600, color: "primary.main" }}>
{(row.original?.sum - (row.original?.deposit_insurance_amount + row.original?.deposit_daghi_amount)).toLocaleString() || "0"} ریال
{(
row.original?.sum -
(row.original?.deposit_insurance_amount + row.original?.deposit_daghi_amount)
).toLocaleString() || "0"}{" "}
ریال
</Typography>
</Grid>
{!factorCreated && (

View File

@@ -63,10 +63,10 @@ const DamageItemContent = ({ rowId }) => {
</TableRow>
);
})}
<TableRow
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
>
<TableCell colSpan={2} align="center">اجرت نصب</TableCell>
<TableRow sx={{ "&:last-child td, &:last-child th": { border: 0 } }}>
<TableCell colSpan={2} align="center">
اجرت نصب
</TableCell>
<TableCell>{(data.ojrate_nasb / 1).toLocaleString()}</TableCell>
</TableRow>
</TableBody>