Subversion Repositories SmartDukaan

Rev

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

Rev 8860 Rev 8862
Line 776... Line 776...
776
		catch(Exception e){
776
		catch(Exception e){
777
			log.error(e);
777
			log.error(e);
778
		}
778
		}
779
		return "physical-refund-result";
779
		return "physical-refund-result";
780
	}
780
	}
781
	
-
 
782
	public boolean canViewPhysicalRefundDetails(){
-
 
783
		return (SecurityUtils.getSubject().hasRole("TeamLead") || SecurityUtils.getSubject().hasRole("Outbound") || SecurityUtils.getSubject().hasRole("Agent"));
-
 
784
	}
781
		
785
	
-
 
786
	public int getRefundEnabledStatus(){
782
	public int getRefundEnabledStatus(){
787
		try{
783
		try{
788
			TransactionClient transactionServiceClient = new TransactionClient();
784
			TransactionClient transactionServiceClient = new TransactionClient();
789
			in.shop2020.model.v1.order.TransactionService.Client transactionClient
785
			in.shop2020.model.v1.order.TransactionService.Client transactionClient
790
		    = transactionServiceClient.getClient();
786
		    = transactionServiceClient.getClient();