diff --git a/app/controllers/qbo_controller.rb b/app/controllers/qbo_controller.rb index ee0350a..a7331bb 100644 --- a/app/controllers/qbo_controller.rb +++ b/app/controllers/qbo_controller.rb @@ -16,7 +16,7 @@ class QboController < ApplicationController # def index @qbo = Qbo.first - @qbo_customer_count = QboCustomers.count + @qbo_customer_count = QboCustomer.count @qbo_item_count = QboItem.count @qbo_employee_count = QboEmployee.count @selected_customer @@ -66,7 +66,7 @@ class QboController < ApplicationController # def sync if Qbo.exists? then - QboCustomers.update_all + QboCustomer.update_all QboItem.update_all QboEmployee.update_all QboEstimate.update_all diff --git a/app/views/qbo/index.html.erb b/app/views/qbo/index.html.erb index 4970578..989210b 100644 --- a/app/views/qbo/index.html.erb +++ b/app/views/qbo/index.html.erb @@ -16,7 +16,7 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI