27 lines
No EOL
811 B
Text
27 lines
No EOL
811 B
Text
- title "Inventur anzeigen"
|
|
|
|
.well.well-small
|
|
%dl.dl-horizontal
|
|
%dt Datum
|
|
%dd= format_date @stock_taking.date
|
|
%dt Notiz
|
|
%dd= simple_format @stock_taking.note
|
|
|
|
%table.table.table-striped
|
|
%tr
|
|
%th Artikel
|
|
%th Lieferantin
|
|
%th Einheit
|
|
%th Menge
|
|
- for stock_change in @stock_taking.stock_changes.all
|
|
%tr
|
|
%td= stock_change.stock_article.name
|
|
%td= stock_change.stock_article.supplier.name
|
|
%td= stock_change.stock_article.unit
|
|
%td= stock_change.quantity
|
|
|
|
.btn-group
|
|
= link_to "Bearbeiten", edit_stock_taking_path(@stock_taking), class: 'btn'
|
|
= link_to "Inventurübersicht", stock_takings_path, class: 'btn'
|
|
= link_to "Löschen", @stock_taking, :method => :delete, :confirm => "Willst Du wirklich die Inventur löschen?",
|
|
class: 'btn btn-danger' |