Pedalman Posted December 30, 2019 Posted December 30, 2019 (edited) I fail to display the total paid tax in invoice.tax-tab.tpl . code pasted from invoice.total-tab.tpl : {if $footer.total_taxes > 0} <tr> <td class="small"> {l s='Total Tax' pdf='true'} </td> <td></td> <td></td> <td class="right small"> {displayPrice currency=$order->id_currency price=$footer.total_taxes} </td> </tr> {/if} Edited December 30, 2019 by Pedalman
Occam Posted December 31, 2019 Posted December 31, 2019 It's not working this simple. There is no array footer available in this tpl. Why don't you just use this invoice: https://forum.thirtybees.com/topic/1817-1817/pdf-invoice-eleazar/?tab=comments#comment-18971
Pedalman Posted December 31, 2019 Author Posted December 31, 2019 Thank you Occam. I realized that my problem is related to this $footer. But I have no clue about smarty and php and hoped that there would be a solution. I will have a look at your linked pdf templates.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now