Fix bug where dedications were getting saved in place of DESIGNATIONS
This commit is contained in:
parent
227bb8ff14
commit
10b6a8ba18
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ module UpdateDonation
|
|||
# edits_to_payments
|
||||
if is_offsite
|
||||
#if offline, set date, gross_amount, fee_total, net_amount
|
||||
existing_payment.towards = data[:dedication] if data[:dedication]
|
||||
existing_payment.towards = data[:designation] if data[:designation]
|
||||
existing_payment.date = data[:date] if data[:date]
|
||||
existing_payment.gross_amount = data[:gross_amount] if data[:gross_amount]
|
||||
existing_payment.fee_total = data[:fee_total] if data[:fee_total]
|
||||
|
|
Loading…
Reference in a new issue