Subversion Repositories SmartDukaan

Rev

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

Rev 5884 Rev 5909
Line 35... Line 35...
35
    protected static final String INPUT = "input";
35
    protected static final String INPUT = "input";
36
    protected static final String INDEX = "index";
36
    protected static final String INDEX = "index";
37
    protected static final String EDIT_NEW = "editNew";
37
    protected static final String EDIT_NEW = "editNew";
38
    protected static final String EDIT = "edit";
38
    protected static final String EDIT = "edit";
39
    protected static final String SHOW = "show";
39
    protected static final String SHOW = "show";
-
 
40
    protected static final String OPEN = "open";
40
    protected static final String EXCEPTION = "exception";
41
    protected static final String EXCEPTION = "exception";
41
 
42
 
42
    protected final SimpleDateFormat SDF = new SimpleDateFormat("dd MMM, yyyy hh:mm a");
43
    protected final SimpleDateFormat SDF = new SimpleDateFormat("dd MMM, yyyy hh:mm a");
43
 
44
 
44
    protected HttpServletResponse response;
45
    protected HttpServletResponse response;
Line 120... Line 121...
120
    
121
    
121
    public boolean canViewStorePickupTickets() {
122
    public boolean canViewStorePickupTickets() {
122
    	return (SecurityUtils.getSubject().hasRole("Outbound"));
123
    	return (SecurityUtils.getSubject().hasRole("Outbound"));
123
    }
124
    }
124
 
125
 
-
 
126
    public boolean canViewAllOpenTickets() {
-
 
127
    	return (SecurityUtils.getSubject().hasRole("TeamLead")||SecurityUtils.getSubject().hasRole("Outbound"));
-
 
128
    }
-
 
129
    
125
    public String editNew() {
130
    public String editNew() {
126
        return EDIT_NEW;
131
        return EDIT_NEW;
127
    }
132
    }
128
 
133
 
129
    public String edit() {
134
    public String edit() {