Add information text to the receive view

This commit is contained in:
Patrick Gansterer 2020-06-22 16:25:20 +02:00
parent 5a9cc811c9
commit 0aa853c53d
3 changed files with 5 additions and 1 deletions

View File

@ -11,7 +11,7 @@
contentType: 'application/json; charset=UTF-8'
});
});
$(document).on('OrderArticle#create', function(e) {
$.ajax({
url: '#{receive_on_order_article_create_order_path(@order)}',
@ -24,6 +24,8 @@
- title t('.title', order: @order.name)
%p!= t('.paragraph')
= form_tag(receive_order_path(@order)) do
%fieldset#results
= render 'edit_amounts'

View File

@ -1384,6 +1384,7 @@ de:
consider_member_tolerance: Toleranz berücksichtigen
notice: 'Bestellung in Empfang genommen: %{msg}'
notice_none: Keine neuen Artikel für den Empfang ausgewählt.
paragraph: Wenn die Bestellmenge mit der Liefermenge übereinstimmt, können die entsprechenden Felder frei gelassen werden. Es empfiehlt sich aber dennoch alle Felder auszufüllen, da daurch einfach nachvollziebar ist ob alle Mengen kontrolliert wurden.
rest_to_stock: Rest ins Lager
submit: Bestellung in Empfang nehmen
surplus_options: 'Verteilungsoptionen:'

View File

@ -1429,6 +1429,7 @@ en:
consider_member_tolerance: consider tolerance
notice: 'Order received: %{msg}'
notice_none: No new articles to receive
paragraph: If the ordered and reveived amount are the same, the corresponding fields can be empty. It's still good practice to all fields, since this provieds an easy way to check if all articles have been checked.
rest_to_stock: rest to stock
submit: Receive order
surplus_options: 'Distribution options:'