ptityop Posted December 4, 2022 Share Posted December 4, 2022 Hello, We are migrating from 1.6 to latest version and when moving the template I realize that the invoice is not coming up right anymore, the shipping VAT amount is not showing on new invoices ... This is the code that was moved from the previous version maybe some variable has changed ? <td class="" style="border: solid black 1px; padding: 5px" >{l s='TVA Livraison:' pdf='true'}{assign var=has_line value=false}<br />{foreach $tax_breakdowns as $label => $bd}{assign var=label_printed value=false} {foreach $bd as $line} {if $line.rate == 0} {continue} {/if} {assign var=has_line value=true} {if isset($is_order_slip) && $is_order_slip}- {/if} {if $label == 'shipping_tax'} {displayPrice currency=$order->id_currency price=$line.total_amount} {/if} {/foreach} {/foreach} </td> Thanks in advance for any guidance . Link to comment Share on other sites More sharing options...
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