Issue #20779:move cash receipt editing to correct function