This commit is contained in:
ashishandroid
2017-02-13 15:59:21 +05:30
parent 0207a8ce01
commit ebdacde272
6 changed files with 2 additions and 3 deletions
@@ -1165,10 +1165,9 @@ public class AdditionalVisibility extends AppCompatActivity implements View.OnCl
ab.setSku_id(SKU_ID);
ab.setSku_name(SKU_name);
// ab.setProcess_id(process_id);
ab.setQuantity(Edt_txt.getText().toString());
ab.setQuantity( Edt_txt.getText().toString().replaceFirst("^0+(?!$)", ""));
// ab.setCategory_id(category_id);
if (validateDialogData(ab)) {
@@ -620,7 +620,7 @@ public class T2PComplianceActivity extends AppCompatActivity {
sku.setBRAND(brand_selected[0].getBRAND().get(0));
sku.setSKU(sku_selected[0].getSKU());
sku.setSKU_ID(sku_selected[0].getSKU_ID());
sku.setSTOCK(et_stock.getText().toString());
sku.setSTOCK(et_stock.getText().toString().replaceFirst("^0+(?!$)", ""));
skuAddedList.add(sku);
Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.0 KiB

After

Width:  |  Height:  |  Size: 8.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.7 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB