mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-04 01:00:44 -04:00
Update qbo_invoice.rb
This commit is contained in:
1 parent
be95de7066
commit
75f5cd2619
1 file changed
+2
-2
@@ -14,11 +14,11 @@ class QboInvoice < ActiveRecord::Base
|
||||
attr_accessible :doc_number
|
||||
validates_presence_of :id, :doc_number
|
||||
|
||||
def self.get_base
|
||||
def get_base
|
||||
Qbo.get_base(:invoice)
|
||||
end
|
||||
|
||||
def self.update_all
|
||||
def sync
|
||||
#Pull the invoices from the quickbooks server
|
||||
invoices = get_base.service.all
|
||||
|
||||
|
||||
Reference in new issue
Block a user