2009-02-12 18:32:20 +01:00
|
|
|
- title "Neue Inventur anlegen"
|
|
|
|
|
2011-05-27 14:09:01 +02:00
|
|
|
.left_column{:style => "width:50%;"}
|
|
|
|
= simple_form_for(@stock_taking) do |f|
|
2009-02-12 18:32:20 +01:00
|
|
|
.box_title
|
2009-02-12 21:38:41 +01:00
|
|
|
%h2 Inventur anlegen
|
2009-02-12 18:32:20 +01:00
|
|
|
.column_content
|
2011-05-27 14:09:01 +02:00
|
|
|
= f.input :date
|
|
|
|
= f.input :note, :input_html => {:size => "28x7", :value => "#{@current_user.nick}: ..."}
|
2009-02-12 18:32:20 +01:00
|
|
|
%h2 Lagerartikel
|
|
|
|
%p
|
|
|
|
%i
|
|
|
|
Bitte trage hier alle gezählten Abweichungen vom
|
|
|
|
= link_to "vorläufigen Lagerbestand", stock_articles_path
|
|
|
|
ein. Bei Schwund benutze einfach ein Minus vor der Zahl.
|
|
|
|
#stock_changes
|
2011-05-27 14:09:01 +02:00
|
|
|
= render :partial => 'stock_change', :collection => @stock_taking.stock_changes
|
|
|
|
= f.submit
|
|
|
|
= link_to "oder abbrechen", stock_takings_path
|
2009-02-12 18:32:20 +01:00
|
|
|
|
2011-05-27 14:09:01 +02:00
|
|
|
.right_column{:style => "width:45%;"}
|
2009-02-12 18:32:20 +01:00
|
|
|
.box_title
|
|
|
|
%h2 Neuen Lagerartikel anlegen
|
|
|
|
.column_content
|
|
|
|
%p
|
2011-05-27 14:09:01 +02:00
|
|
|
// FIx this!
|
2009-02-12 18:32:20 +01:00
|
|
|
Suche nach Artikeln aus dem allen Katalogen:
|
2011-05-27 14:09:01 +02:00
|
|
|
= text_field_tag :article_name
|
2009-02-12 18:32:20 +01:00
|
|
|
%hr/
|
|
|
|
#stock_article_form
|
|
|
|
= render :partial => 'stock_article_form', :locals => {:stock_article => StockArticle.new}
|