Subversion Repositories SmartDukaan

Rev

Rev 2126 | Rev 2252 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2126 Rev 2138
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()));