| Line 98... |
Line 98... |
| 98 |
comments.setText(item.getComments());
|
98 |
comments.setText(item.getComments());
|
| 99 |
catalogItemId.setText(item.getCatalogItemId() + "");
|
99 |
catalogItemId.setText(item.getCatalogItemId() + "");
|
| 100 |
|
100 |
|
| 101 |
mrp.setText(item.getMrp() != -1 ? item.getMrp()+"" : "");
|
101 |
mrp.setText(item.getMrp() != -1 ? item.getMrp()+"" : "");
|
| 102 |
sellingPrice.setText(item.getSellingPrice() != -1 ? item.getSellingPrice()+"" : "");
|
102 |
sellingPrice.setText(item.getSellingPrice() != -1 ? item.getSellingPrice()+"" : "");
|
| 103 |
weight.setText(item.getWeight() != 1 ? item.getWeight()+"" : "");
|
103 |
weight.setText(item.getWeight() != -1 ? item.getWeight()+"" : "");
|
| 104 |
|
104 |
|
| 105 |
startDate.setValue(new Date(item.getStartDate()));
|
105 |
startDate.setValue(new Date(item.getStartDate()));
|
| 106 |
addedOn.setText(Utils.getDisplayableDate(item.getAddedOn()));
|
106 |
addedOn.setText(Utils.getDisplayableDate(item.getAddedOn()));
|
| 107 |
retireDate.setText(Utils.getDisplayableDate(item.getRetireDate()));
|
107 |
retireDate.setText(Utils.getDisplayableDate(item.getRetireDate()));
|
| 108 |
updatedOn.setText(Utils.getDisplayableDate(item.getUpdatedOn()));
|
108 |
updatedOn.setText(Utils.getDisplayableDate(item.getUpdatedOn()));
|