Skip to content

Commit

Permalink
Remove shift which is changing the id on a payment by 1 character
Browse files Browse the repository at this point in the history
  • Loading branch information
jjromeo committed Jul 11, 2023
1 parent 5c062b9 commit c98ebe8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def merge_finance_details
end

while transient_registration.finance_details.payments.present?
registration.finance_details.payments << transient_registration.finance_details.payments.shift
registration.finance_details.payments << transient_registration.finance_details.payments.first
end

registration.finance_details.update_balance
Expand Down

0 comments on commit c98ebe8

Please sign in to comment.