fix discount
This commit is contained in:
@@ -213,7 +213,7 @@ const Invoice = () => {
|
||||
<th style={{ width: "1.5cm" }}>تعداد</th>
|
||||
<th style={{ width: '2.3cm' }}>مبلغ واحد (ریال)</th>
|
||||
<th style={{ width: '2.3cm' }}>مبلغ کل (ریال)</th>
|
||||
<th style={{ width: '2.3cm' }}>تخفیف (ریال)</th>
|
||||
<th style={{ width: '2.3cm' }}>تخفیف (درصد)</th>
|
||||
<th style={{ width: '2.3cm' }}>مبلغ کل پس از تخفیف (ریال)</th>
|
||||
<th style={{ width: '2.3cm' }}>جمع مالیات و عوارض ارزش افزوده (ریال)</th>
|
||||
<th style={{ width: '2.5cm' }}>جمع کل پس از تخفیف و مالیات و عوارض (ریال)</th>
|
||||
@@ -229,7 +229,7 @@ const Invoice = () => {
|
||||
<td>{item.count}</td>
|
||||
<td>{NumberFormat(Number(item.unitPrice) * 10)}</td>
|
||||
<td>{NumberFormat(Number(item.unitPrice) * Number(item.count) * 10)}</td>
|
||||
<td>{NumberFormat(Number(item.discount) * 10)}</td>
|
||||
<td>{NumberFormat(Number(item.discount))}</td>
|
||||
<td>{NumberFormat(Number(item.totalPrice) * 10)}</td>
|
||||
<td>{NumberFormat(Number(item.totalPrice) * 0.1 * 10)}</td>
|
||||
<td>{NumberFormat(Number(item.totalPrice) * 0.1 * 10 + Number(item.totalPrice) * 10)}</td>
|
||||
|
||||
Reference in New Issue
Block a user