From: Roland Häder <roland@mxchange.org>
Date: Thu, 24 Aug 2017 21:12:27 +0000 (+0200)
Subject: Must be countryPhoneCode (49 for Germany, ...) and not countryCode (DE for Germany... 
X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=0e447bb88973684c6123986578f76d9ea58f22bf;p=jjobs-war.git

Must be countryPhoneCode (49 for Germany, ...) and not countryCode (DE for Germany) in a pre-dial selection box

Signed-off-by: Roland Häder <roland@mxchange.org>
---

diff --git a/web/WEB-INF/templates/admin/business_basic_data/admin_form_business_basic_data.tpl b/web/WEB-INF/templates/admin/business_basic_data/admin_form_business_basic_data.tpl
index b7948ff7..28542ff6 100644
--- a/web/WEB-INF/templates/admin/business_basic_data/admin_form_business_basic_data.tpl
+++ b/web/WEB-INF/templates/admin/business_basic_data/admin_form_business_basic_data.tpl
@@ -129,7 +129,7 @@
 					<h:selectOneMenu styleClass="select right_space" id="landLineCountryCode" value="#{adminBusinessDataController.landLineCountry}">
 						<f:converter converterId="CountryConverter" />
 						<f:selectItem itemValue="" itemLabel="#{msg.NONE_SELECTED}" />
-						<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryAbroadDialPrefix}#{country.countryCode}" />
+						<f:selectItems value="#{countryController.allCountries()}" var="country" itemValue="#{country}" itemLabel="#{country.countryAbroadDialPrefix}#{country.countryPhoneCode}" />
 					</h:selectOneMenu>
 
 					<h:inputText styleClass="input right_space" id="landLineAreaCode" size="5" maxlength="10" value="#{adminBusinessDataController.landLineAreaCode}">