migrate to Rails 4.0 (closes foodcoops#214)
Conflicts: Gemfile.lock
This commit is contained in:
parent
12d1221bfc
commit
7841245795
97 changed files with 659 additions and 557 deletions
|
|
@ -24,7 +24,7 @@
|
|||
%th.numeric= t '.sum'
|
||||
%tbody
|
||||
- total_net, total_gross = 0,0
|
||||
- @delivery.stock_changes.all.each do |stock_change|
|
||||
- @delivery.stock_changes.each do |stock_change|
|
||||
- quantity = stock_change.quantity
|
||||
- sum = quantity * stock_change.stock_article.price
|
||||
- total_net += sum
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue