Subversion Repositories SmartDukaan

Rev

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

Rev 4649 Rev 5128
Line 9... Line 9...
9
import com.google.gwt.event.dom.client.ClickEvent;
9
import com.google.gwt.event.dom.client.ClickEvent;
10
import com.google.gwt.event.dom.client.ClickHandler;
10
import com.google.gwt.event.dom.client.ClickHandler;
11
import com.google.gwt.uibinder.client.UiBinder;
11
import com.google.gwt.uibinder.client.UiBinder;
12
import com.google.gwt.uibinder.client.UiField;
12
import com.google.gwt.uibinder.client.UiField;
13
import com.google.gwt.uibinder.client.UiTemplate;
13
import com.google.gwt.uibinder.client.UiTemplate;
-
 
14
import com.google.gwt.user.client.Window;
14
import com.google.gwt.user.client.rpc.AsyncCallback;
15
import com.google.gwt.user.client.rpc.AsyncCallback;
15
import com.google.gwt.user.client.ui.DockLayoutPanel;
16
import com.google.gwt.user.client.ui.DockLayoutPanel;
16
import com.google.gwt.user.client.ui.RootLayoutPanel;
17
import com.google.gwt.user.client.ui.RootLayoutPanel;
17
 
18
 
18
/**
19
/**
Line 130... Line 131...
130
                    itemList.loadLatestArrivals();
131
                    itemList.loadLatestArrivals();
131
                } else if(CatalogTree.SEARCH.equals(itemsType)) {
132
                } else if(CatalogTree.SEARCH.equals(itemsType)) {
132
                    //Open the search dialog box
133
                    //Open the search dialog box
133
                    SearchItemBox box = new SearchItemBox(itemList);
134
                    SearchItemBox box = new SearchItemBox(itemList);
134
                    box.center();
135
                    box.center();
-
 
136
                } else if (CatalogTree.INACTIVE_ITEMS_WITH_INVENTORY.equals(itemsType)) {
-
 
137
                	String link = GWT.getHostPageBaseURL() + "inactivewithinventory/download";
-
 
138
                    Window.open(link, "_blank", "Inactive Items with Inventory");
-
 
139
                }else if (CatalogTree.BREAKEVEN_ITEMS.equals(itemsType)){
-
 
140
                	String link1 = GWT.getHostPageBaseURL() + "belowbreakeven/download";
-
 
141
                	Window.open(link1, "_blank", "Item below break even price.");
135
                }
142
                }
136
            }
143
            }
137
        });
144
        });
138
    }
145
    }
139
    
146