This is an automated email from the ASF dual-hosted git repository. rajanmaurya154 pushed a commit to branch development in repository https://gitbox.apache.org/repos/asf/fineract-cn-mobile.git
The following commit(s) were added to refs/heads/development by this push: new d02e9af Fix #143: Country name error fixed on Edit Customer d02e9af is described below commit d02e9af4bb9ddbc1eaf8a0fe93934c3f79c397ed Author: miPlodder <academic.ra...@gmail.com> AuthorDate: Sun Mar 31 15:53:56 2019 +0530 Fix #143: Country name error fixed on Edit Customer --- .../createcustomer/formcustomeraddress/FormCustomerAddressFragment.java | 1 + app/src/main/resources/customer.json | 2 +- app/src/main/resources/customerPage.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/formcustomeraddress/FormCustomerAddressFragment.java b/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/formcustomeraddress/FormCustomerAddressFragment.java index eccffc9..dbccffc 100644 --- a/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/formcustomeraddress/FormCustomerAddressFragment.java +++ b/app/src/main/java/org/apache/fineract/ui/online/customers/createcustomer/formcustomeraddress/FormCustomerAddressFragment.java @@ -241,6 +241,7 @@ public class FormCustomerAddressFragment extends FineractBaseFragment implements @Override public void showCounties(List<String> countries) { + validateCountry(); this.countries = countries.toArray(new String[0]); ArrayAdapter<String> customerAdapter = new ArrayAdapter<>(getActivity(), android.R.layout.simple_list_item_1, this.countries); diff --git a/app/src/main/resources/customer.json b/app/src/main/resources/customer.json index 837a272..31529fe 100644 --- a/app/src/main/resources/customer.json +++ b/app/src/main/resources/customer.json @@ -20,7 +20,7 @@ "region": "region", "postalCode": "postalCode", "countryCode": "countryCode", - "country": "country" + "country": "India" }, "contactDetails": [ { diff --git a/app/src/main/resources/customerPage.json b/app/src/main/resources/customerPage.json index ec149ea..59f3aa3 100644 --- a/app/src/main/resources/customerPage.json +++ b/app/src/main/resources/customerPage.json @@ -22,7 +22,7 @@ "region": "region", "postalCode": "postalCode", "countryCode": "countryCode", - "country": "country" + "country": "India" }, "contactDetails": [ {