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:
2016-01-09 00:51:02 -05:00
parent e45ff68cfa
commit 7abf20f35d
6 changed files with 64 additions and 19 deletions

View File

@@ -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