mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update payment.rb
This commit is contained in:
@@ -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!
|
||||||
|
|||||||
Reference in New Issue
Block a user