Subversion Repositories SmartDukaan

Rev

Rev 8303 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8303 Rev 8910
Line 30... Line 30...
30
		String password = request.getPassword();
30
		String password = request.getPassword();
31
		
31
		
32
		boolean status = false;
32
		boolean status = false;
33
		long warehouseId = -1;
33
		long warehouseId = -1;
34
		long sourceId = -1;
34
		long sourceId = -1;
35
		UserType userType = UserType.WAREHOUSE_EXECUTIVE;
35
		UserType userType = UserType.WAREHOUSE_OBSERVER;
36
		BillingType billingType = BillingType.EXTERNAL;
36
		BillingType billingType = BillingType.EXTERNAL;
37
		Map<Long, String> warehouses = null;
37
		Map<Long, String> warehouses = null;
38
		Map<Long, String> providers = null;
38
		Map<Long, String> providers = null;
39
		Map<Long, String> stores = null;
39
		Map<Long, String> stores = null;
40
		NEXT nextScreen = null;
40
		NEXT nextScreen = null;
Line 49... Line 49...
49
                userType = UserType.ADMIN;
49
                userType = UserType.ADMIN;
50
                break;
50
                break;
51
            case WAREHOUSE_MONITOR:
51
            case WAREHOUSE_MONITOR:
52
                userType = UserType.WAREHOUSE_MONITOR;
52
                userType = UserType.WAREHOUSE_MONITOR;
53
                break;
53
                break;
-
 
54
            case WAREHOUSE_EXECUTIVE:
-
 
55
            	userType = UserType.WAREHOUSE_EXECUTIVE;
-
 
56
                break;
54
            default:
57
            default:
55
                userType = UserType.WAREHOUSE_EXECUTIVE;
58
                userType = UserType.WAREHOUSE_OBSERVER;
56
            }
59
            }
57
			status = true;
60
			status = true;
58
			nextScreen = NEXT.INBOX;
61
			nextScreen = NEXT.INBOX;
59
			
62
			
60
			warehouseId = dashboardUser.getWarehouseId();
63
			warehouseId = dashboardUser.getWarehouseId();