michelerocco Posted July 21, 2015 Share Posted July 21, 2015 Hi, I was tryng to get in the invoices email the total amount to pay but without value simbols or letters. Using {$invoice_balance} I get the amount in the forma € 100,00EUR , I need to get only the 100.00 value, how can I do it? Thanks to all (using last WHMCS version) 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted July 21, 2015 Share Posted July 21, 2015 Hi, You have several options. If you're using only EUR currency, you can use replace with Smarty. {$invoice_balance|replace:'€ ':''|replace:'EUR:''} With multiple currencies on paper you could do the same thing with multiple replace statements but it's a bit odd. In this case you should use Hooks:EmailPreSend and rebuild your $invoice_balance variable. 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.