The pending return items were being counted as part of the #all total, but not appearing in any of the lists, making the count appear incorrect.
For this particular site, it was fixed by editing to include:
case "Awaiting Return Label Printing":
case "Item Checked In":
newStatus = "Processing your return";
break;
and then added the new array under the InProcessStatusList:
var inProcessStatusList = new Array('Awaiting processing','In process','Awaiting your reply','Processing your return');
The pending return items were being counted as part of the #all total, but not appearing in any of the lists, making the count appear incorrect.
For this particular site, it was fixed by editing to include: case "Awaiting Return Label Printing": case "Item Checked In": newStatus = "Processing your return"; break;
and then added the new array under the InProcessStatusList: var inProcessStatusList = new Array('Awaiting processing','In process','Awaiting your reply','Processing your return');