Filter sale according to state on sales template #5772