Subversion Repositories SmartDukaan

Rev

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

Rev 2610 Rev 2628
Line 3... Line 3...
3
import in.shop2020.hotspot.dashbaord.client.event.ReceiveReturnEvent;
3
import in.shop2020.hotspot.dashbaord.client.event.ReceiveReturnEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
4
import in.shop2020.hotspot.dashbaord.client.event.AcceptOrderEvent;
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.FlagOrderEvent;
6
import in.shop2020.hotspot.dashbaord.client.event.FlagOrderEvent;
7
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
7
import in.shop2020.hotspot.dashbaord.client.event.RequestPickupEvent;
-
 
8
import in.shop2020.hotspot.dashbaord.client.event.ReshipOrderEvent;
8
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
9
import in.shop2020.hotspot.dashbaord.shared.actions.DetailsMask;
9
import in.shop2020.hotspot.dashbaord.shared.actions.Order;
10
import in.shop2020.hotspot.dashbaord.shared.actions.Order;
10
 
11
 
11
import org.enunes.gwt.mvp.client.EventBus;
12
import org.enunes.gwt.mvp.client.EventBus;
12
 
13
 
Line 293... Line 294...
293
				PickupAuthorizationInfoBox box = new PickupAuthorizationInfoBox(eventbus, order);
294
				PickupAuthorizationInfoBox box = new PickupAuthorizationInfoBox(eventbus, order);
294
				box.center();
295
				box.center();
295
			}
296
			}
296
		});
297
		});
297
		
298
		
-
 
299
		reshipOrder.addClickHandler(new ClickHandler() {
-
 
300
			
-
 
301
			@Override
-
 
302
			public void onClick(ClickEvent event) {
-
 
303
				if(reshipOrder.isEnabled()){
-
 
304
					GWT.log("Reshipping the order: " + order.getOrderId());
-
 
305
					eventbus.fireEvent(new ReshipOrderEvent(order));
-
 
306
				}
-
 
307
			}
-
 
308
		});
-
 
309
		
298
		refundOrder.addClickHandler(new ClickHandler() {
310
		refundOrder.addClickHandler(new ClickHandler() {
299
			
311
			
300
			@Override
312
			@Override
301
			public void onClick(ClickEvent event) {
313
			public void onClick(ClickEvent event) {
302
				if(rejectOrder.isEnabled()){
314
				if(rejectOrder.isEnabled()){