Subversion Repositories SmartDukaan

Rev

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

Rev 2558 Rev 2588
Line 1... Line 1...
1
package in.shop2020.hotspot.dashbaord.client.inbox;
1
package in.shop2020.hotspot.dashbaord.client.inbox;
2
 
2
 
-
 
3
import in.shop2020.hotspot.dashbaord.client.event.AcceptDoaEvent;
3
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.NostockOrderEvent;
5
import in.shop2020.hotspot.dashbaord.client.event.NostockOrderEvent;
5
import in.shop2020.hotspot.dashbaord.client.event.FlagOrderEvent;
6
import in.shop2020.hotspot.dashbaord.client.event.FlagOrderEvent;
6
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
7
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
7
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
8
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
Line 164... Line 165...
164
					invoiceGenerationUrl = invoiceGenerationUrl + order.getOrderId();
165
					invoiceGenerationUrl = invoiceGenerationUrl + order.getOrderId();
165
					Window.open(invoiceGenerationUrl, "newWindowName", "window features.");
166
					Window.open(invoiceGenerationUrl, "newWindowName", "window features.");
166
				}
167
				}
167
			}
168
			}
168
		});
169
		});
-
 
170
		
-
 
171
		acceptDOA.addClickHandler(new ClickHandler() {
-
 
172
			
-
 
173
			@Override
-
 
174
			public void onClick(ClickEvent event) {
-
 
175
				if(acceptDOA.isEnabled())
-
 
176
					eventbus.fireEvent(new AcceptDoaEvent(order));
-
 
177
			}
-
 
178
		});
-
 
179
		
-
 
180
		validateDOA.addClickHandler(new ClickHandler() {
-
 
181
			
-
 
182
			@Override
-
 
183
			public void onClick(ClickEvent event) {
-
 
184
				if(!validateDOA.isEnabled())
-
 
185
					return;
-
 
186
				DoaValidationBox box = new DoaValidationBox(eventbus, order);
-
 
187
				box.center();
-
 
188
			}
-
 
189
		});
169
	}
190
	}
170
 
191
 
171
	private void implementMaskForWE(){
192
	private void implementMaskForWE(){
172
		switch(mask){
193
		switch(mask){
173
		case NEW:
194
		case NEW: