Subversion Repositories SmartDukaan

Rev

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

Rev 5384 Rev 5504
Line 26... Line 26...
26
                            PAUSED = 2,
26
                            PAUSED = 2,
27
                            ACTIVE = 3,
27
                            ACTIVE = 3,
28
                            IN_PROCESS = 4,
28
                            IN_PROCESS = 4,
29
                            CONTENT_COMPLETE = 5;
29
                            CONTENT_COMPLETE = 5;
30
    
30
    
-
 
31
    public static List<String> voucherType;
-
 
32
    
31
    // role column in helper.catalogdashboarduser table. role specifies 
33
    // role column in helper.catalogdashboarduser table. role specifies 
32
    // the username-pwd pair for staging or for production.
34
    // the username-pwd pair for staging or for production.
33
    // production password is needed while updating item on production server.
35
    // production password is needed while updating item on production server.
34
    public static final int ROLE_STAGING = 0, ROLE_PRODUCTION = 1;
36
    public static final int ROLE_STAGING = 0, ROLE_PRODUCTION = 1;
35
    
37
    
Line 90... Line 92...
90
            }
92
            }
91
            @Override
93
            @Override
92
            public void onFailure(Throwable caught) {
94
            public void onFailure(Throwable caught) {
93
                caught.printStackTrace();
95
                caught.printStackTrace();
94
            }
96
            }
-
 
97
        });
-
 
98
        
-
 
99
        catalogService.getvoucherTypes(new AsyncCallback<List<String>>() {
-
 
100
            @Override
-
 
101
            public void onSuccess(List<String> result) {
-
 
102
            	voucherType = result;
-
 
103
            }
-
 
104
            @Override
-
 
105
            public void onFailure(Throwable caught) {
-
 
106
                caught.printStackTrace();
-
 
107
            }
95
        });
108
        });
96
 
109
 
97
    }
110
    }
98
    
111
    
99
    public static Map<Long, String> getAllVendors() {
112
    public static Map<Long, String> getAllVendors() {