Subversion Repositories SmartDukaan

Rev

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

Rev 4092 Rev 4172
Line 38... Line 38...
38
	interface OrderDetailsUiBinder extends UiBinder<Widget, OrderDetails>{ }
38
	interface OrderDetailsUiBinder extends UiBinder<Widget, OrderDetails>{ }
39
	
39
	
40
	interface SelectionStyle extends CssResource{
40
	interface SelectionStyle extends CssResource{
41
		String blueLabel();
41
		String blueLabel();
42
		String greenLabel();
42
		String greenLabel();
-
 
43
		String redLabel();
43
	}
44
	}
44
 
45
 
45
	private static final OrderDetailsUiBinder binder = GWT.create(OrderDetailsUiBinder.class);
46
	private static final OrderDetailsUiBinder binder = GWT.create(OrderDetailsUiBinder.class);
46
	
47
	
47
	@UiField FlexTable header;
48
	@UiField FlexTable header;
Line 441... Line 442...
441
	private void loadOrderDetails(){
442
	private void loadOrderDetails(){
442
		orderDetails1.add(getHorizontalPanel("PRODUCT GROUP: ", transaction.getProductGroup()));
443
		orderDetails1.add(getHorizontalPanel("PRODUCT GROUP: ", transaction.getProductGroup()));
443
		orderDetails1.add(getHorizontalPanel("BRAND:   	     ", transaction.getBrand()));
444
		orderDetails1.add(getHorizontalPanel("BRAND:   	     ", transaction.getBrand()));
444
		orderDetails1.add(getHorizontalPanel("MODEL:         ", getModelDisplayName(transaction)));
445
		orderDetails1.add(getHorizontalPanel("MODEL:         ", getModelDisplayName(transaction)));
445
		orderDetails1.add(getHorizontalPanel("Item ID:       ", transaction.getItemId()+""));
446
		orderDetails1.add(getHorizontalPanel("Item ID:       ", transaction.getItemId()+""));
446
		orderDetails1.add(getHorizontalPanel("EXTRA INFO:    ", transaction.getExtraInfo()));
447
		orderDetails1.add(getHorizontalPanel("FREE ITEM:    ", transaction.getDealText()).getWidget(1).setStyleName(selectionStyle.redLabel()));
-
 
448
		
447
		orderDetails1.add(getHorizontalPanel("DELAY REASON:  ", transaction.getDelayReason()));
449
		orderDetails1.add(getHorizontalPanel("DELAY REASON:  ", transaction.getDelayReason()));
448
		orderDetails1.add(getHorizontalPanel("ALERT:         ", transaction.getAlert().toString()));
450
		orderDetails1.add(getHorizontalPanel("ALERT:         ", transaction.getAlert().toString()));
449
		
451
		
450
		orderDetails2.add(getHorizontalPanel("NAME:          ", transaction.getCustomerName()));
452
		orderDetails2.add(getHorizontalPanel("NAME:          ", transaction.getCustomerName()));
451
		orderDetails2.add(getHorizontalPanel("ADDRESS:       ", getDisplayAddress(transaction)));
453
		orderDetails2.add(getHorizontalPanel("ADDRESS:       ", getDisplayAddress(transaction)));