c17b63b192
Introduced StockArticle and a special page for ordering from stock. StockChanges will be created and the StockArticle.quantity updated in 'order.close!'.
6 lines
104 B
Ruby
6 lines
104 B
Ruby
class StockitController < ApplicationController
|
|
def index
|
|
@articles = StockArticle.all
|
|
end
|
|
|
|
end
|