bug fixes in payments by sale view