check status purchase when update and delete
fix sales