Use host name from settings for auth & added exception handing in QboInvoice

This commit is contained in:
ricky committed 2022-02-06 16:37:00 -05:00
1 parent 7cc8a946fd
commit b1192a1912
2 files changed
+6 -2

No files matched your search

+5 -1
View File
@@ -149,7 +149,11 @@ class QboInvoice < ActiveRecord::Base
# Push updates
#invoice.sync_token += 1 if is_changed
get_base.update(invoice) if is_changed
begin
get_base.update(invoice) if is_changed
rescue
# Do nothing, probaly too many vehicles on the invoice. This is a problem with how it's billed
# TODO Add notes in memo area
end
end