Subversion Repositories SmartDukaan

Rev

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

Rev 4455 Rev 4478
Line 2... Line 2...
2
 
2
 
3
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
3
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.FlagOrderEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.FlagOrderEvent;
5
import in.shop2020.hotspot.dashbaord.client.event.NostockOrderEvent;
5
import in.shop2020.hotspot.dashbaord.client.event.NostockOrderEvent;
6
import in.shop2020.hotspot.dashbaord.client.event.ProvisionalCaptureEvent;
6
import in.shop2020.hotspot.dashbaord.client.event.ProvisionalCaptureEvent;
7
import in.shop2020.hotspot.dashbaord.client.event.ReceiveReturnEvent;
-
 
8
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
7
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
9
import in.shop2020.hotspot.dashbaord.client.event.ReshipOrderEvent;
8
import in.shop2020.hotspot.dashbaord.client.event.ReshipOrderEvent;
10
import in.shop2020.hotspot.dashbaord.shared.actions.BillingType;
9
import in.shop2020.hotspot.dashbaord.shared.actions.BillingType;
11
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
10
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
12
import in.shop2020.hotspot.dashbaord.shared.actions.Order;
11
import in.shop2020.hotspot.dashbaord.shared.actions.Order;
Line 248... Line 247...
248
 
247
 
249
		receiveReturn.addClickHandler(new ClickHandler() {
248
		receiveReturn.addClickHandler(new ClickHandler() {
250
			
249
			
251
			@Override
250
			@Override
252
			public void onClick(ClickEvent event) {
251
			public void onClick(ClickEvent event) {
253
				if(receiveReturn.isEnabled())
252
				if(!receiveReturn.isEnabled())
-
 
253
					return;
254
					eventbus.fireEvent(new ReceiveReturnEvent(order));
254
				ReceiveReturnBox box = new ReceiveReturnBox(eventbus, order);
-
 
255
				box.center();
255
			}
256
			}
256
		});
257
		});
257
		
258
		
258
		validateDOA.addClickHandler(new ClickHandler() {
259
		validateDOA.addClickHandler(new ClickHandler() {
259
			
260