mdeinhardt Posted September 6, 2014 Share Posted September 6, 2014 I have downloaded the EU VAT Addon but I am not able to modify the fields VAT Label & VAT Rate. They always revert back to "VAT" and "20%" Can anybody help? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 6, 2014 Share Posted September 6, 2014 if you look in the lang folder of the addon (/modules/addons/eu_vat/lang), there are two language files - English and Spanish - in either (or both depending on whether the other language is an option on your site), change the entries below by editing the text in the double quotes... english.php $_ADDONLANG['vatlabel'] = "VAT Label"; $_ADDONLANG['vatrate'] = "VAT Rate"; spanish.php $_ADDONLANG['vatlabel'] = "Etiqueta Impuestos"; $_ADDONLANG['vatrate'] = "Tasa Impuestos"; btw - I think with the latest versions of WHMCS, it comes with the installation - so there might have been no need to download it separately. 0 Quote Link to comment Share on other sites More sharing options...
mdeinhardt Posted September 15, 2014 Author Share Posted September 15, 2014 Thanks Brian for taking the time to answer. My problem is not with the text itself (i.e with the translation) but with the function. The "Automatic VAT Tax Rules Setup" is the last setting in the addon's settings and should be adpated to the local VAT (in our case 19%). But the VAT rate is pre-filled with 20% and I can't change it, it always reverts back to 20% when trying to save the changes. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 15, 2014 Share Posted September 15, 2014 Hi, it's not an addon that we use, so I can't really test it - it might be worth opening a support ticket about this, as they'll know if its an issue with your setup or the module. 0 Quote Link to comment Share on other sites More sharing options...
ThePostman Posted September 15, 2014 Share Posted September 15, 2014 I think the fields are automatically filled with that value by the php code, not by any currently used setting. Unfortunately the code is encrypted so I can't verify. This however is just an option to use single time during install. By using these fields you can "mass-adjust" the Tax rules under "Setup" > "Payments" > "Tax rules". In my case, I use English and Dutch language. Dutch for NL country and English for all other countries. In Dutch VAT is called "BTW" and should be presented on the invoice with that exact label (even if the rest is in English). Also I have to charge 21% in my country. So I use the form on the EU VAT addon to set the label name to "BTW" with "21%" (after which the page reloads with VAT and 20% Now all countries have 21% and have the label BTW. If you would like a different label or percentage for some countries, adjust them on the Tax rule page. 0 Quote Link to comment Share on other sites More sharing options...
mdeinhardt Posted September 15, 2014 Author Share Posted September 15, 2014 So you are saying it is working, but the form doesn't reflect the saved settings? Need to check that, that would be crazy... Thanks - - - Updated - - - You are right and I'll be damned. WTF, who in their right mind would program a form like this? Anyway, you helped my lot, thanks a million. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 15, 2014 Share Posted September 15, 2014 WTF, who in their right mind would program a form like this? whmcs! 0 Quote Link to comment Share on other sites More sharing options...
Jan38 Posted November 29, 2015 Share Posted November 29, 2015 any solution for this? very irritating that you must use VAT in dutch instead of BTW 0 Quote Link to comment Share on other sites More sharing options...
Kian Posted November 29, 2015 Share Posted November 29, 2015 As far as I remember the EU VAT Addon doesn't allow you to define different names for the VAT. The only way to solve this issue is to manually edit records on phpMyAdmin. Of course once done you can't use the form to do any change or it will reset everything. Alternatively there are modules that allow you to define country specific names for VAT so that you can have IVA for Italy, BTW for Belgium, ДДС Bulgaria, ΦΠΑ Cyprus, moms Denmark, 增值稅 Taiwan etc. Yep, I know the values of the entire world 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.