formatting
This commit is contained in:
@@ -140,7 +140,11 @@ const CreateFactorContent = ({ row, mutate, rowId, setOpenCreateFactorDialog })
|
|||||||
</Box>
|
</Box>
|
||||||
<Divider sx={{ flex: 1, mx: 2 }} />
|
<Divider sx={{ flex: 1, mx: 2 }} />
|
||||||
<Typography variant="h5" sx={{ fontWeight: 600, color: "primary.main" }}>
|
<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>
|
</Typography>
|
||||||
</Grid>
|
</Grid>
|
||||||
{!factorCreated && (
|
{!factorCreated && (
|
||||||
|
|||||||
@@ -63,10 +63,10 @@ const DamageItemContent = ({ rowId }) => {
|
|||||||
</TableRow>
|
</TableRow>
|
||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
<TableRow
|
<TableRow sx={{ "&:last-child td, &:last-child th": { border: 0 } }}>
|
||||||
sx={{ "&:last-child td, &:last-child th": { border: 0 } }}
|
<TableCell colSpan={2} align="center">
|
||||||
>
|
اجرت نصب
|
||||||
<TableCell colSpan={2} align="center">اجرت نصب</TableCell>
|
</TableCell>
|
||||||
<TableCell>{(data.ojrate_nasb / 1).toLocaleString()}</TableCell>
|
<TableCell>{(data.ojrate_nasb / 1).toLocaleString()}</TableCell>
|
||||||
</TableRow>
|
</TableRow>
|
||||||
</TableBody>
|
</TableBody>
|
||||||
|
|||||||
Reference in New Issue
Block a user