mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-12-29 22:21:00 -05:00
Added QBO Employee setting to the User.
This allows the a QBO Employee ID to be assigned to a redmine user
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
|
||||
class QboEmployee < ActiveRecord::Base
|
||||
unloadable
|
||||
attr_accessible :name
|
||||
validates_presence_of :id, :name
|
||||
has_many :users
|
||||
attr_accessible :name
|
||||
validates_presence_of :id, :name
|
||||
|
||||
def self.update_all
|
||||
qbo = Qbo.first
|
||||
@@ -25,5 +26,4 @@ class QboEmployee < ActiveRecord::Base
|
||||
qbo_employee.save!
|
||||
}
|
||||
end
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user