mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 17:04:23 -05:00
Update qbo_purchase.rb
Added seprate belongs_to line for customer
This commit is contained in:
@@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
class QboPurchase < ActiveRecord::Base
|
class QboPurchase < ActiveRecord::Base
|
||||||
unloadable
|
unloadable
|
||||||
belongs_to :issues, :qbo_customer
|
belongs_to :issues
|
||||||
|
belongs_to :qbo_customer
|
||||||
attr_accessible :description
|
attr_accessible :description
|
||||||
validates_presence_of :id, :line_id, :description, :customer_id
|
validates_presence_of :id, :line_id, :description, :customer_id
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user