Removed restriction on create for invoices with the same delivery date.
This commit is contained in:
parent
37199bae1d
commit
3309248865
1 changed files with 0 additions and 1 deletions
|
@ -25,7 +25,6 @@ class Invoice < ActiveRecord::Base
|
|||
belongs_to :order
|
||||
|
||||
validates_presence_of :supplier_id
|
||||
validates_uniqueness_of :date, :scope => [:supplier_id]
|
||||
|
||||
named_scope :unpaid, :conditions => { :paid_on => nil }
|
||||
|
||||
|
|
Loading…
Reference in a new issue