Subversion Repositories SmartDukaan

Rev

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

Rev 4604 Rev 4788
Line 320... Line 320...
320
			CatalogClient csc = new CatalogClient();
320
			CatalogClient csc = new CatalogClient();
321
			in.shop2020.model.v1.catalog.InventoryService.Client catalogClient= csc.getClient();
321
			in.shop2020.model.v1.catalog.InventoryService.Client catalogClient= csc.getClient();
322
			List<Warehouse> warehouses = catalogClient.getAllWarehouses(true);
322
			List<Warehouse> warehouses = catalogClient.getAllWarehouses(true);
323
			for(Warehouse warehouse : warehouses){
323
			for(Warehouse warehouse : warehouses){
324
				// FIXME Remove the hardcoding
324
				// FIXME Remove the hardcoding
325
				if(warehouse.getId() == 2 || warehouse.getId() == 5){
325
				if(warehouse.getId() == 1 || warehouse.getId() == 2){
326
					continue;
326
					continue;
327
				}
327
				}
328
				warehouseMap.put(warehouse.getId(), warehouse.getDisplayName());
328
				warehouseMap.put(warehouse.getId(), warehouse.getDisplayName());
329
			}
329
			}
330
		}catch(Exception e){
330
		}catch(Exception e){