| Line 800... |
Line 800... |
| 800 |
if(refundTimeStamp!=null && !("").equalsIgnoreCase(refundTimeStamp)){
|
800 |
if(refundTimeStamp!=null && !("").equalsIgnoreCase(refundTimeStamp)){
|
| 801 |
details.add("Refund TimeStamp:- "+refundTimeStamp);
|
801 |
details.add("Refund TimeStamp:- "+refundTimeStamp);
|
| 802 |
}
|
802 |
}
|
| 803 |
setPhysicalRefundDetails(details);
|
803 |
setPhysicalRefundDetails(details);
|
| 804 |
|
804 |
|
| 805 |
if((refundOption!=null && refundAmount!=null) && (!("").equalsIgnoreCase(refundOption)) && !("").equalsIgnoreCase(refundAmount) && SecurityUtils.getSubject().hasRole("TeamLead")){
|
805 |
if((refundOption!=null && refundAmount!=null) && (!("").equalsIgnoreCase(refundOption)) && !("").equalsIgnoreCase(refundAmount)){
|
| 806 |
System.out.println("Into the Refund Condition");
|
806 |
System.out.println("Into the Refund Condition");
|
| 807 |
return 0;
|
807 |
return 0;
|
| 808 |
}
|
808 |
}
|
| 809 |
else if(t_order.isCod()){
|
809 |
else if(t_order.isCod()){
|
| 810 |
if(setOfrefundableStates.contains(t_order.getStatus()) && SecurityUtils.getSubject().hasRole("TeamLead")){
|
810 |
if(setOfrefundableStates.contains(t_order.getStatus()) && SecurityUtils.getSubject().hasRole("TeamLead")){
|