Subversion Repositories SmartDukaan

Rev

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

Rev 7422 Rev 8717
Line 36... Line 36...
36
	
36
	
37
	interface SelectionStyle extends CssResource {
37
	interface SelectionStyle extends CssResource {
38
		String selectedRow();
38
		String selectedRow();
39
		String fatalRow();
39
		String fatalRow();
40
		String criticalRow();
40
		String criticalRow();
-
 
41
		String badInventory();
41
	}
42
	}
42
	//add gin here
43
	//add gin here
43
	private static final OrderListUiBinder binder = GWT.create(OrderListUiBinder.class);
44
	private static final OrderListUiBinder binder = GWT.create(OrderListUiBinder.class);
44
	
45
	
45
	@UiField DataGrid<Order> table;
46
	@UiField DataGrid<Order> table;
Line 194... Line 195...
194
			        style = selectionStyle.criticalRow();
195
			        style = selectionStyle.criticalRow();
195
		            break;
196
		            break;
196
			    case WARNING:
197
			    case WARNING:
197
			    case NONE:
198
			    case NONE:
198
			    }
199
			    }
-
 
200
			    if(order.getProductCondition()==1) {
-
 
201
			    	style = selectionStyle.badInventory();
-
 
202
			    }
199
				return style;
203
				return style;
200
			}
204
			}
201
		});
205
		});
202
		
206
		
203
		  
207