Order of Tax Rates in Tax Details Section

You can display the tax rates in the Tax Details section in descending order, in both consolidated_default_multi_currency_template.xml and consolidated_default_template.xml. To do this, replace this line of code:

          <#list taxdetails.details as taxdetail> 

        

, with:

          <#list taxdetails.details?sort_by("rate") as taxdetail> 

        

The next time you generate an invoice summary, the tax rates in the Tax Details section will be in descending order.

General Notices