diff --git a/app/models/qbo_purchase.rb b/app/models/qbo_purchase.rb index 1e2faec..250d470 100644 --- a/app/models/qbo_purchase.rb +++ b/app/models/qbo_purchase.rb @@ -39,7 +39,7 @@ class QboPurchase < ActiveRecord::Base #TODO attach to issues #qbo_purchase.issue_id = Issue.find_by_invoice() - qbo_purchase.save! + qbo_purchase.save end } } diff --git a/config/locales/en.yml b/config/locales/en.yml index 39135e9..2277739 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -14,4 +14,5 @@ en: field_qbo_customer: "Customer" field_qbo_item: "Item" field_qbo_employee: "Employee" - field_qbo_invoice: "Invoice" \ No newline at end of file + field_qbo_invoice: "Invoice" + field_qbo_estimate: "Estimate"