Subversion Repositories SmartDukaan

Rev

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

Rev 5586 Rev 6241
Line 51... Line 51...
51
    @UiField TextBox productGroup, catalogItemId;
51
    @UiField TextBox productGroup, catalogItemId;
52
    @UiField TextBox brand, modelNumber, modelName, color, comments;
52
    @UiField TextBox brand, modelNumber, modelName, color, comments;
53
    @UiField TextBox mrp, sellingPrice, weight, bestDealText, bestDealValue, bestSellingRank;
53
    @UiField TextBox mrp, sellingPrice, weight, bestDealText, bestDealValue, bestSellingRank;
54
    @UiField DateBox startDate, retireDate, comingSoonStartDate, expectedArrivalDate;
54
    @UiField DateBox startDate, retireDate, comingSoonStartDate, expectedArrivalDate;
55
    @UiField Button addButton, cancelButton, comingSoonButton;
55
    @UiField Button addButton, cancelButton, comingSoonButton;
56
    @UiField CheckBox defaultForEntity, risky, itemType, hasItemNo, clearance;
56
    @UiField CheckBox defaultForEntity, risky, itemType, hasItemNo, clearance, showSellingPrice;
57
    @UiField FlexTable headerVendor, vendorTable;
57
    @UiField FlexTable headerVendor, vendorTable;
58
    @UiField FlexTable headerVendorM, vendorTableM;
58
    @UiField FlexTable headerVendorM, vendorTableM;
59
    @UiField ListBox preferredVendor;
59
    @UiField ListBox preferredVendor;
60
    
60
    
61
    public ItemForm(){
61
    public ItemForm(){
Line 491... Line 491...
491
 
491
 
492
	public void setExpectedArrivalDate(Date date){
492
	public void setExpectedArrivalDate(Date date){
493
		this.expectedArrivalDate.setValue(date);
493
		this.expectedArrivalDate.setValue(date);
494
	}
494
	}
495
 
495
 
-
 
496
	public void setShowPrice(boolean b){
-
 
497
		this.showSellingPrice.setValue(b);
-
 
498
	}
-
 
499
 
-
 
500
	public boolean isShowPrice(){
-
 
501
		return this.showSellingPrice.getValue();
-
 
502
	}
-
 
503
 
496
	@Override
504
	@Override
497
	public String getBestDealsText() {
505
	public String getBestDealsText() {
498
		return this.bestDealText.getValue();
506
		return this.bestDealText.getValue();
499
	}
507
	}
500
 
508
 
Line 503... Line 511...
503
		return this.comingSoonStartDate.getValue();
511
		return this.comingSoonStartDate.getValue();
504
	}
512
	}
505
 
513
 
506
	@Override
514
	@Override
507
	public Date getExpectedArrivalDate() {
515
	public Date getExpectedArrivalDate() {
508
		return this.comingSoonStartDate.getValue();
516
		return this.expectedArrivalDate.getValue();
509
	}
517
	}
510
}
518
}