From: Roland Häder Date: Sat, 19 Aug 2017 15:00:39 +0000 (+0200) Subject: Please cherry-pick: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e15f299c5e5c5364869e8d308a85f2cbb756fd68;p=pizzaservice-war.git Please cherry-pick: - having legal status and company separated was no good idea anyway, so let's get rid of it here, too Signed-off-by: Roland Häder --- diff --git a/src/java/org/mxchange/localization/bundle_de_DE.properties b/src/java/org/mxchange/localization/bundle_de_DE.properties index 2d14cdf9..a6a7f5c5 100644 --- a/src/java/org/mxchange/localization/bundle_de_DE.properties +++ b/src/java/org/mxchange/localization/bundle_de_DE.properties @@ -829,7 +829,7 @@ ADMIN_BUSINESS_DATA_PHONE_NUMBER=Haupttelefonnummer: ADMIN_BUSINESS_DATA_FAX_NUMBER=Hauptfaxnummer: #@TODO Please fix German umlauts! ADMIN_ADD_CONTACT_BUSINESS_TITLE=Neuen geschaeftlichen Kontakt hinzufuegen -ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Bitte mindestens Firmennamen mit Rechtsform ein. +ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Bitte mindestens Firmennamen inklusive Rechtsform ein. #@TODO Please fix German umlauts! ENTERED_EMAIL_ADDRESS_IS_INVALID=Die eingegebene Email-Addresse entspricht nicht dem gueltigen Format. #@TODO Please fix German umlauts! diff --git a/src/java/org/mxchange/localization/bundle_en_US.properties b/src/java/org/mxchange/localization/bundle_en_US.properties index 5401882c..00646efe 100644 --- a/src/java/org/mxchange/localization/bundle_en_US.properties +++ b/src/java/org/mxchange/localization/bundle_en_US.properties @@ -809,7 +809,7 @@ ADMIN_BUSINESS_DATA_COMPANY_COMMENTS=Comments: ADMIN_BUSINESS_DATA_PHONE_NUMBER=Main phone number: ADMIN_BUSINESS_DATA_FAX_NUMBER=Main fax number: ADMIN_ADD_CONTACT_BUSINESS_TITLE=Add new business contact -ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Please enter at least company name and legal status. +ADMIN_ADD_CONTACT_BUSINESS_MINIMUM_DATA=Please enter at least company name including legal status. ENTERED_EMAIL_ADDRESS_IS_INVALID=Your entered email address is not valid. ADMIN_CONTACT_BUSINESS_DATA_LEGEND=Basic data for business contact: #Geben Sie die Basisdaten fuer einen geschaeftlichen Kontakt ein. diff --git a/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java index 30d7daf1..be8e9521 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaAdminBusinessDataWebSessionBean.java @@ -63,11 +63,6 @@ public class PizzaAdminBusinessDataWebSessionBean extends BasePizzaController im */ private String companyEmailAddress; - /** - * Company legal status (example: Incorporated, GmbH) - */ - private String companyLegalStatus; - /** * Company name */ @@ -153,24 +148,6 @@ public class PizzaAdminBusinessDataWebSessionBean extends BasePizzaController im this.companyEmailAddress = companyEmailAddress; } - /** - * Getter for company's legal status - *

- * @return Company's legal status - */ - public String getCompanyLegalStatus () { - return this.companyLegalStatus; - } - - /** - * Setter for company's legal status - *

- * @param companyLegalStatus Company's legal status - */ - public void setCompanyLegalStatus (final String companyLegalStatus) { - this.companyLegalStatus = companyLegalStatus; - } - /** * Getter for company name *

diff --git a/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java index e3e0c4f4..d3be0642 100644 --- a/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java +++ b/src/java/org/mxchange/pizzaapplication/beans/businessdata/PizzaBusinessDataWebSessionBean.java @@ -58,11 +58,6 @@ public class PizzaBusinessDataWebSessionBean extends BasePizzaController impleme */ private String companyEmailAddress; - /** - * Company legal status (example: Incorporated, GmbH) - */ - private String companyLegalStatus; - /** * Company name */ @@ -148,24 +143,6 @@ public class PizzaBusinessDataWebSessionBean extends BasePizzaController impleme this.companyEmailAddress = companyEmailAddress; } - /** - * Getter for company's legal status - *

- * @return Company's legal status - */ - public String getCompanyLegalStatus () { - return this.companyLegalStatus; - } - - /** - * Setter for company's legal status - *

- * @param companyLegalStatus Company's legal status - */ - public void setCompanyLegalStatus (final String companyLegalStatus) { - this.companyLegalStatus = companyLegalStatus; - } - /** * Getter for company name *

diff --git a/web/WEB-INF/templates/admin/business_data/admin_form_business_data.tpl b/web/WEB-INF/templates/admin/business_data/admin_form_business_data.tpl index 7781ac4d..af9c01b8 100644 --- a/web/WEB-INF/templates/admin/business_data/admin_form_business_data.tpl +++ b/web/WEB-INF/templates/admin/business_data/admin_form_business_data.tpl @@ -27,22 +27,6 @@ - -

- -
- -
- -
- -
- - - - - -
diff --git a/web/admin/business_data/admin_business_data_list.xhtml b/web/admin/business_data/admin_business_data_list.xhtml index 605db6b0..3527e775 100644 --- a/web/admin/business_data/admin_business_data_list.xhtml +++ b/web/admin/business_data/admin_business_data_list.xhtml @@ -47,7 +47,7 @@ - +