Removed restriction on create for invoices with the same delivery date.

This commit is contained in:
Benjamin Meichsner 2009-03-24 10:45:41 +01:00
parent 37199bae1d
commit 3309248865
1 changed files with 0 additions and 1 deletions

View File

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