mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-09 01:14:23 -05:00
Update qbo_estimate.rb
This commit is contained in:
@@ -14,11 +14,11 @@ class QboEstimate < ActiveRecord::Base
|
||||
attr_accessible :doc_number
|
||||
validates_presence_of :id, :doc_number
|
||||
|
||||
def get_base
|
||||
def self.get_base
|
||||
Qbo.get_base(:estimate)
|
||||
end
|
||||
|
||||
def sync
|
||||
def self.sync
|
||||
estimates = get_base.service.all
|
||||
|
||||
# Update the item table
|
||||
|
||||
Reference in New Issue
Block a user