Second part of stock-integration.
Introduced StockArticle and a special page for ordering from stock. StockChanges will be created and the StockArticle.quantity updated in 'order.close!'.
This commit is contained in:
parent
1912a3fd80
commit
c17b63b192
37 changed files with 616 additions and 340 deletions
|
|
@ -18,6 +18,7 @@
|
|||
%th Einheit
|
||||
%th Preis
|
||||
%th Lieferant
|
||||
%th Kategorie
|
||||
%tbody
|
||||
- for article in @articles
|
||||
%tr{:class => cycle("even", "odd")}
|
||||
|
|
@ -26,3 +27,4 @@
|
|||
%td= article.unit
|
||||
%td= article.price
|
||||
%td= link_to article.supplier.name, article.supplier
|
||||
%td= article.article_category.name
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue