Added more info to delivery/show for easier comparision of invoice amount and sum of delivered items.
This commit is contained in:
parent
8bfa83118c
commit
c03f3da21a
2 changed files with 10 additions and 1 deletions
|
|
@ -3,7 +3,7 @@ class DeliveriesController < ApplicationController
|
|||
before_filter :find_supplier, :exclude => :fill_new_stock_article_form
|
||||
|
||||
def index
|
||||
@deliveries = @supplier.deliveries.find(:all)
|
||||
@deliveries = @supplier.deliveries.all :order => 'delivered_on DESC'
|
||||
|
||||
respond_to do |format|
|
||||
format.html # index.html.erb
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue