mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: Correct Tax Breakup for different tax rates for same hsn code
This commit is contained in:
@@ -12,14 +12,14 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{% for item, taxes in itemised_tax.items() %}
|
||||
{% for taxes in itemised_tax_data %}
|
||||
<tr>
|
||||
<td>{{ item }}</td>
|
||||
<td>{{ taxes.item }}</td>
|
||||
<td class="text-right">
|
||||
{% if doc.get('is_return') %}
|
||||
{{ frappe.utils.fmt_money((itemised_taxable_amount.get(item, 0))|abs, None, doc.currency) }}
|
||||
{{ frappe.utils.fmt_money(taxes.taxable_amount |abs, None, doc.currency) }}
|
||||
{% else %}
|
||||
{{ frappe.utils.fmt_money(itemised_taxable_amount.get(item, 0), None, doc.currency) }}
|
||||
{{ frappe.utils.fmt_money(taxes.taxable_amount, None, doc.currency) }}
|
||||
{% endif %}
|
||||
</td>
|
||||
{% for tax_account in tax_accounts %}
|
||||
|
||||
Reference in New Issue
Block a user