foodsoft/app/views/deliveries/index.html.haml

26 lines
749 B
Text
Raw Normal View History

2012-04-20 18:33:47 +02:00
- title "#{@supplier.name}/Lieferungen"
%table.list{:style => "width:50em"}
%thead
%tr
%th Geliefert am
%th Rechnungsbetrag
2009-08-12 13:09:10 +02:00
%th Notiz
%th
%th
%th
%tbody
- for delivery in @deliveries
%tr
%td=h delivery.delivered_on
%td= link_to_invoice(delivery)
2009-08-12 13:09:10 +02:00
%td= truncate delivery.note
%td= link_to 'Anzeigen', [@supplier, delivery]
%td= link_to 'Bearbeiten', edit_supplier_delivery_path(@supplier,delivery)
%td= link_to 'Löschen', [@supplier,delivery], :confirm => 'Are you sure?', :method => :delete
%br/
= link_to "Neue Lieferung für #{@supplier.name} anlegen", new_supplier_delivery_path(@supplier)
2009-01-18 17:42:51 +01:00
|
= link_to "Lieferantenübersicht", suppliers_path