From 25db54e64bad44f18b2c88957b683d065fb8aafc Mon Sep 17 00:00:00 2001 From: Shreesh Arora Date: Fri, 14 Apr 2023 10:40:31 +0530 Subject: [PATCH] update invoice totals tab summary --- pdf/invoice.total-tab.tpl | 22 ++++++++++++---------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/pdf/invoice.total-tab.tpl b/pdf/invoice.total-tab.tpl index 748cfbc77..6744dac03 100644 --- a/pdf/invoice.total-tab.tpl +++ b/pdf/invoice.total-tab.tpl @@ -52,6 +52,16 @@ {/if} + {if $footer.product_discounts_tax_excl > 0} + + + {l s='Total Discounts' pdf='true'} + + + - {displayPrice currency=$order->id_currency price=$footer.product_discounts_tax_excl} + + + {/if} {* {if isset($footer.product_taxes) && $footer.product_taxes} @@ -92,6 +102,7 @@ {/if} *} + {l s='Total (Tax excl.)' pdf='true'} @@ -110,16 +121,7 @@ {/if} - {if $footer.product_discounts_tax_excl > 0} - - - {l s='Total Discounts' pdf='true'} - - - - {displayPrice currency=$order->id_currency price=$footer.product_discounts_tax_excl} - - - {/if} +