Update payment.rb

This commit is contained in:
2016-08-05 21:25:37 -04:00
committed by GitHub
parent 08b365e69e
commit e3b49358bb

View File

@@ -48,11 +48,11 @@ class Payment
payment.total = @total_amount payment.total = @total_amount
begin #begin
Qbo.get_base(:payment).service.update(payment) Qbo.get_base(:payment).service.update(payment)
rescue Exception => e #rescue Exception => e
@errors.add(e.message) # @errors.add(e.message)
end #end
end end
def save! def save!