Supplier adding and arranging tables
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ class List
|
||||
|
||||
attr_protected :supplier_id
|
||||
|
||||
validates :table_id, presence: true
|
||||
#validates :table_id, presence: true, table can be deleted
|
||||
validates :supplier_id, presence: true
|
||||
|
||||
view :by_supplier_id_and_id, key: [:supplier_id, :_id]
|
||||
|
||||
Reference in New Issue
Block a user