c17b63b192
Introduced StockArticle and a special page for ordering from stock. StockChanges will be created and the StockArticle.quantity updated in 'order.close!'.
14 lines
391 B
YAML
14 lines
391 B
YAML
# == Schema Information
|
|
# Schema version: 20090120184410
|
|
#
|
|
# Table name: stock_changes
|
|
#
|
|
# id :integer not null, primary key
|
|
# delivery_id :integer
|
|
# order_id :integer
|
|
# stock_article_id :integer
|
|
# quantity :decimal(, ) default(0.0)
|
|
# created_at :datetime
|
|
#
|
|
|
|
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
|