mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-12-29 14:11:00 -05:00
Added Item dropdown box for Issues
This commit is contained in:
@@ -10,8 +10,9 @@
|
||||
|
||||
class QboItem < ActiveRecord::Base
|
||||
unloadable
|
||||
attr_accessible :name
|
||||
validates_presence_of :id, :name
|
||||
has_many :issues
|
||||
attr_accessible :name
|
||||
validates_presence_of :id, :name
|
||||
|
||||
def self.update_all
|
||||
qbo = Qbo.first
|
||||
|
||||
@@ -34,8 +34,6 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
||||
<br/>
|
||||
<%= f.select :qbo_employee_id, QboEmployee.all.pluck(:name, :id), :selected => @selected_employee, include_blank: true %>
|
||||
</div>
|
||||
|
||||
<%= f.submit %>
|
||||
<% end %>
|
||||
|
||||
<br/>
|
||||
|
||||
Reference in New Issue
Block a user