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

View File

@ -1384,6 +1384,7 @@ de:
consider_member_tolerance: Toleranz berücksichtigen consider_member_tolerance: Toleranz berücksichtigen
notice: 'Bestellung in Empfang genommen: %{msg}' notice: 'Bestellung in Empfang genommen: %{msg}'
notice_none: Keine neuen Artikel für den Empfang ausgewählt. 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 rest_to_stock: Rest ins Lager
submit: Bestellung in Empfang nehmen submit: Bestellung in Empfang nehmen
surplus_options: 'Verteilungsoptionen:' surplus_options: 'Verteilungsoptionen:'

View File

@ -1429,6 +1429,7 @@ en:
consider_member_tolerance: consider tolerance consider_member_tolerance: consider tolerance
notice: 'Order received: %{msg}' notice: 'Order received: %{msg}'
notice_none: No new articles to receive 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 rest_to_stock: rest to stock
submit: Receive order submit: Receive order
surplus_options: 'Distribution options:' surplus_options: 'Distribution options:'