From d19cfc33bc575ee4bd93c85ea1e0193e8141ec89 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?R=C3=A9mi=20Gaillard?=
Date: Fri, 5 Apr 2013 11:29:30 +0200
Subject: [PATCH] [-] FO: Don't display vat_number field if not required for
the country on address.tpl
---
themes/default/address.tpl | 16 +++++++++-------
1 file changed, 9 insertions(+), 7 deletions(-)
diff --git a/themes/default/address.tpl b/themes/default/address.tpl
index bdc915c3d..f193fec91 100644
--- a/themes/default/address.tpl
+++ b/themes/default/address.tpl
@@ -102,14 +102,16 @@ $(function(){ldelim}
-
-
-
-
-
-
+ {/if}
+ {if $field_name eq 'vat_number'}
+
+
+
+
+
+
+
-
{/if}
{if $field_name eq 'firstname'}