mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update qbo_controller.rb
This commit is contained in:
@@ -69,12 +69,12 @@ class QboController < ApplicationController
|
|||||||
#
|
#
|
||||||
def sync
|
def sync
|
||||||
if Qbo.exists?
|
if Qbo.exists?
|
||||||
Customer.update_all
|
Customer.sync
|
||||||
QboItem.update_all
|
QboItem.sync
|
||||||
QboEmployee.update_all
|
QboEmployee.sync
|
||||||
QboEstimate.update_all
|
QboEstimate.sync
|
||||||
QboInvoice.update_all
|
QboInvoice.sync
|
||||||
QboPurchase.update_all
|
QboPurchase.sync
|
||||||
|
|
||||||
# Record the last sync time
|
# Record the last sync time
|
||||||
Qbo.update_time_stamp
|
Qbo.update_time_stamp
|
||||||
|
|||||||
Reference in New Issue
Block a user