kiểm tra xem mất thu hay mất phát rồi tính