Merge branch 'master' into ACVisibilityDone
This commit is contained in:
@@ -359,11 +359,14 @@ public class CommonString {
|
|||||||
+ "STORE_ID"
|
+ "STORE_ID"
|
||||||
+ " INTEGER,"
|
+ " INTEGER,"
|
||||||
|
|
||||||
/*+ "SKU_ID"
|
+ "CATEGORY_ID"
|
||||||
|
+ " VARCHAR,"
|
||||||
|
|
||||||
|
+ "SKU_ID"
|
||||||
+ " INTEGER,"
|
+ " INTEGER,"
|
||||||
|
|
||||||
+ "SKU"
|
+ "SKU"
|
||||||
+ " VARCHAR,"*/
|
+ " VARCHAR,"
|
||||||
|
|
||||||
+ "PROMO_ID"
|
+ "PROMO_ID"
|
||||||
+ " INTEGER,"
|
+ " INTEGER,"
|
||||||
|
|||||||
+2
-2
@@ -51,13 +51,13 @@ public class CategoryWisePerformanceActivity extends AppCompatActivity {
|
|||||||
toolbar = (Toolbar) findViewById(R.id.toolbar);
|
toolbar = (Toolbar) findViewById(R.id.toolbar);
|
||||||
recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
|
recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
|
||||||
|
|
||||||
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
db = new GSKOrangeDB(this);
|
db = new GSKOrangeDB(this);
|
||||||
db.open();
|
db.open();
|
||||||
|
|
||||||
//preference data
|
//preference data
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
||||||
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
|
|||||||
+2
-2
@@ -72,11 +72,11 @@ public class MSL_AvailabilityActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
db = new GSKOrangeDB(this);
|
db = new GSKOrangeDB(this);
|
||||||
db.open();
|
db.open();
|
||||||
|
|
||||||
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
//preference data
|
//preference data
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
||||||
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
|
|||||||
+2
-3
@@ -99,12 +99,11 @@ public class PromoComplianceActivity extends AppCompatActivity {
|
|||||||
btn_add = (Button) findViewById(R.id.btn_add);
|
btn_add = (Button) findViewById(R.id.btn_add);
|
||||||
|
|
||||||
db = new GSKOrangeDB(this);
|
db = new GSKOrangeDB(this);
|
||||||
db.open();
|
db.open();
|
||||||
|
|
||||||
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
//preference data
|
//preference data
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
||||||
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
|
|||||||
+2
-2
@@ -127,11 +127,11 @@ public class Stock_FacingActivity extends AppCompatActivity {
|
|||||||
|
|
||||||
expandableListView = (ExpandableListView) findViewById(R.id.expandableListView);
|
expandableListView = (ExpandableListView) findViewById(R.id.expandableListView);
|
||||||
//txt_stockFacingName = (TextView) findViewById(R.id.txt_stockFacingName);
|
//txt_stockFacingName = (TextView) findViewById(R.id.txt_stockFacingName);
|
||||||
|
|
||||||
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
//preference data
|
//preference data
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
||||||
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
|
|||||||
+2
-3
@@ -78,12 +78,11 @@ public class StoreWisePerformanceActivity extends AppCompatActivity {
|
|||||||
recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
|
recyclerView = (RecyclerView) findViewById(R.id.recyclerView);
|
||||||
|
|
||||||
db = new GSKOrangeDB(this);
|
db = new GSKOrangeDB(this);
|
||||||
db.open();
|
db.open();
|
||||||
|
|
||||||
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
|
||||||
|
|
||||||
//preference data
|
//preference data
|
||||||
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
preferences = PreferenceManager.getDefaultSharedPreferences(this);
|
||||||
|
updateResources(getApplicationContext(),preferences.getString(CommonString.KEY_LANGUAGE, ""));
|
||||||
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
store_id = preferences.getString(CommonString.KEY_STORE_ID, null);
|
||||||
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
visit_date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
date = preferences.getString(CommonString.KEY_DATE, null);
|
date = preferences.getString(CommonString.KEY_DATE, null);
|
||||||
|
|||||||
@@ -114,8 +114,6 @@
|
|||||||
|
|
||||||
<string name="enter_the_values">Enter the values</string>
|
<string name="enter_the_values">Enter the values</string>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<string name="title_activity_upload">Upload Data</string>
|
<string name="title_activity_upload">Upload Data</string>
|
||||||
<string name="no_data_for_upload">No Data For Upload</string>
|
<string name="no_data_for_upload">No Data For Upload</string>
|
||||||
<string name="first_checkout_store">First checkout of store</string>
|
<string name="first_checkout_store">First checkout of store</string>
|
||||||
@@ -166,7 +164,6 @@
|
|||||||
<string name="title_activity_enter_quantity">Please enter Quantity</string>
|
<string name="title_activity_enter_quantity">Please enter Quantity</string>
|
||||||
<string name="title_activity_save_data">Do you want to save the data</string>
|
<string name="title_activity_save_data">Do you want to save the data</string>
|
||||||
|
|
||||||
|
|
||||||
<string name="clickimage">Please click the image</string>
|
<string name="clickimage">Please click the image</string>
|
||||||
<string name="gps">GPS IS DISABLED...</string>
|
<string name="gps">GPS IS DISABLED...</string>
|
||||||
<string name="gpsebale">Click ok to enable GPS.</string>
|
<string name="gpsebale">Click ok to enable GPS.</string>
|
||||||
|
|||||||
Reference in New Issue
Block a user