tejli007 Posted February 6, 2021 Share Posted February 6, 2021 (edited) Hello Folks! After a 6 Hour work I managed to show second currency to my invoices (html): {if $clientsdetails.currency eq "1"} <tr> <td class="total-row text-right"><strong> {$LANG.ex}</strong></td> <td class="total-row text-center">{$exchangerate} </td> </tr> <tr> <td class="total-row text-right"><strong>EUR {$LANG.invoicestotal}</strong></td> <td class="total-row text-center">€{(($total->toNumeric())* $exchangerate)|string_format:"%.2f"} EUR</td> </tr> {/if} If am adding the same code in invoicepdf.tpl is not working as its not PHP language. Can someone please save me some pain and convert this code into PHP so I can add it into invoicepdf.tpl? Ill be really thankful! Edited February 6, 2021 by tejli007 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 10, 2021 Share Posted February 10, 2021 On 06/02/2021 at 15:49, tejli007 said: Can someone please save me some pain and convert this code into PHP so I can add it into invoicepdf.tpl? perhaps the thread below will help as I outlined something similar in there for the PDF invoices... 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.