From e9038a56c10662362d818255e4b3c17c5a5f18a3 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 25 Feb 2016 20:54:20 -0500 Subject: [PATCH] Updated locale with Estimate --- app/models/qbo_purchase.rb | 2 +- config/locales/en.yml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) 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"