From a97a265649aae055cd627ea386209cc3c2bd25f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Gaillard?= Date: Wed, 30 Jan 2013 15:57:02 +0100 Subject: [PATCH] [-] FO: Fix #PSCFV-6375 always display the vat_number field for registration even if the european vat number module is disabled --- themes/default/address.tpl | 10 +---- themes/default/authentication.tpl | 28 ++++++------- themes/default/mobile/address.tpl | 24 ++++++------ themes/default/mobile/authentication.tpl | 30 +++++++------- themes/default/order-opc-new-account.tpl | 50 ++++++++++++------------ 5 files changed, 63 insertions(+), 79 deletions(-) diff --git a/themes/default/address.tpl b/themes/default/address.tpl index b3ec1221a..1457760c1 100644 --- a/themes/default/address.tpl +++ b/themes/default/address.tpl @@ -46,7 +46,6 @@ var countriesNeedZipCode = new Array(); $(function(){ldelim} $('.id_state option[value={if isset($smarty.post.id_state)}{$smarty.post.id_state|intval}{else}{if isset($address->id_state)}{$address->id_state|intval}{/if}{/if}]').attr('selected', true); {rdelim}); -{if $vat_management} {literal} $(document).ready(function() { $('#company').blur(function(){ @@ -62,7 +61,6 @@ $(function(){ldelim} } }); {/literal} -{/if} //]]> @@ -104,13 +102,7 @@ $(function(){ldelim}

- {if $vat_display == 2} -
- {elseif $vat_display == 1} -