New Payment feature: attribute payment gives correct number depending on if new or editied record. technical debt reduction ;)