VAT field dissapears for Greek customers

  • LukSkywalker
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 weeks ago #78865 by LukSkywalker
VAT field dissapears for Greek customers was created by LukSkywalker
Hi Tuan,

When someone choose "Greece" in the Country field, the VAT Number field disappears so Greek customers are not able to fill it. Greece is a country of the European Union, so they should be able to use the VAT Number field.

Also, when the invoice is generated, it appears GR as country identifier, but it should appear EL. You can check it in the VIES page .

Please Log in or Create an account to join the conversation.

More
9 years 4 weeks ago #78922 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic VAT field dissapears for Greek customers
Hi Jose

Could you send me the link to the registration page on your site? I am going to check to see why it happens and get it sorted

Regards,

Tuan

Please Log in or Create an account to join the conversation.

  • LukSkywalker
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
9 years 4 weeks ago - 9 years 4 weeks ago #78930 by LukSkywalker
Replied by LukSkywalker on topic VAT field dissapears for Greek customers
Hi Tuan,

I modified the source code of the javascript file (paymentmethods.js) to show the vat field; it seems there is some code specifically for the Greek country. This is my code (line 296 and below):
Code:
if ($('#vat_country_code')){ // Dealing with Greece country $('#vat_country_code').text(msg.country_code); if (msg.country_code == 'EL') || (msg.country_code == 'GR') { msg.show_vat_number_field = 1; } }

Regards,
Jose
Last edit: 9 years 4 weeks ago by LukSkywalker.

Please Log in or Create an account to join the conversation.