Subversion Repositories SmartDukaan

Rev

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

Rev 15698 Rev 16208
Line 170... Line 170...
170
    
170
    
171
    public boolean canViewProfitMandiTicket(){
171
    public boolean canViewProfitMandiTicket(){
172
    	return (SecurityUtils.getSubject().hasRole("TeamLead")||SecurityUtils.getSubject().hasRole("Outbound"));
172
    	return (SecurityUtils.getSubject().hasRole("TeamLead")||SecurityUtils.getSubject().hasRole("Outbound"));
173
    }
173
    }
174
    
174
    
-
 
175
    public boolean isProfitMandiAgent(){
-
 
176
    	return SecurityUtils.getSubject().hasRole("PMAgent");
-
 
177
    }
-
 
178
    
175
    public String editNew() {
179
    public String editNew() {
176
        return EDIT_NEW;
180
        return EDIT_NEW;
177
    }
181
    }
178
 
182
 
179
    public String edit() {
183
    public String edit() {