25 lines
634 B
Text
25 lines
634 B
Text
- title "Inventurübersicht"
|
|
|
|
%p
|
|
= link_to "Neue Inventur anlegen", new_stock_taking_path
|
|
|
|
|
= link_to "Lager", stock_articles_path
|
|
|
|
%table.list{:style => "width:50em"}
|
|
%thead
|
|
%tr
|
|
%th Datum
|
|
%th Notiz
|
|
%th
|
|
%th
|
|
%th
|
|
%tbody
|
|
- for stock_taking in @stock_takings
|
|
%tr
|
|
%td= link_to format_date(stock_taking.date), stock_taking
|
|
%td= truncate stock_taking.note
|
|
%td= link_to 'Anzeigen', stock_taking
|
|
%td= link_to 'Bearbeiten', edit_stock_taking_path(stock_taking)
|
|
%td= link_to 'Löschen', stock_taking, :confirm => 'Are you sure?', :method => :delete
|
|
|
|
|