factor rial *10
This commit is contained in:
@@ -227,12 +227,12 @@ const Invoice = () => {
|
|||||||
<td>{item.name}</td>
|
<td>{item.name}</td>
|
||||||
<td>داناک</td>
|
<td>داناک</td>
|
||||||
<td>{item.count}</td>
|
<td>{item.count}</td>
|
||||||
<td>{NumberFormat(Number(item.unitPrice))}</td>
|
<td>{NumberFormat(Number(item.unitPrice) * 10)}</td>
|
||||||
<td>{NumberFormat(Number(item.unitPrice) * Number(item.count))}</td>
|
<td>{NumberFormat(Number(item.unitPrice) * Number(item.count) * 10)}</td>
|
||||||
<td>{NumberFormat(Number(item.discount))}</td>
|
<td>{NumberFormat(Number(item.discount) * 10)}</td>
|
||||||
<td>{NumberFormat(Number(item.totalPrice))}</td>
|
<td>{NumberFormat(Number(item.totalPrice) * 10)}</td>
|
||||||
<td>{NumberFormat(Number(item.totalPrice) * 0.1)}</td>
|
<td>{NumberFormat(Number(item.totalPrice) * 0.1 * 10)}</td>
|
||||||
<td>{NumberFormat(Number(item.totalPrice) * 0.1 + Number(item.totalPrice))}</td>
|
<td>{NumberFormat(Number(item.totalPrice) * 0.1 * 10 + Number(item.totalPrice) * 10)}</td>
|
||||||
</tr>
|
</tr>
|
||||||
))}
|
))}
|
||||||
</tbody>
|
</tbody>
|
||||||
@@ -242,7 +242,7 @@ const Invoice = () => {
|
|||||||
<td colSpan={4} className="font-small">
|
<td colSpan={4} className="font-small">
|
||||||
جمع کل پس از کسر تخفیف با احتساب مالیات و عوارض (ریال):
|
جمع کل پس از کسر تخفیف با احتساب مالیات و عوارض (ریال):
|
||||||
</td>
|
</td>
|
||||||
<td><span className="ltr">{NumberFormat(invoice?.totalPrice)}</span></td>
|
<td><span className="ltr">{NumberFormat(Number(invoice?.totalPrice) * 10)}</span></td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<td colSpan={4}>
|
<td colSpan={4}>
|
||||||
|
|||||||
Reference in New Issue
Block a user