Filter sales according to state of sale #5772

remove this