Improved the creation/updating of deliveries.

This commit is contained in:
Benjamin Meichsner 2009-02-10 20:06:08 +01:00
parent 67743cd014
commit cd9636a650
7 changed files with 93 additions and 43 deletions

View file

@ -14,7 +14,8 @@
%thead
%tr
%th Artikel
%th Menge
%th im Lager
%th davon bestellt
%th Einheit
%th Preis
%th Lieferant
@ -24,6 +25,7 @@
%tr{:class => cycle("even", "odd")}
%td=h article.name
%td= article.quantity
%td= article.quantity - article.quantity_available
%td= article.unit
%td= article.price
%td= link_to article.supplier.name, article.supplier