Complete I18n of current receive screen
This commit is contained in:
parent
d7c771d10a
commit
563993fffa
5 changed files with 30 additions and 15 deletions
|
@ -20,9 +20,9 @@ module OrdersHelper
|
|||
if order_article.order.open?
|
||||
nil
|
||||
else
|
||||
units_info = "#{order_article.units_to_order} ordered"
|
||||
units_info += ", #{order_article.units_billed} billed" unless order_article.units_billed.nil?
|
||||
units_info += ", #{order_article.units_received} received" unless order_article.units_received.nil?
|
||||
units_info = "#{order_article.units_to_order} #{heading_helper OrderArticle, :units_to_order}"
|
||||
units_info += ", #{order_article.units_billed} #{heading_helper OrderArticle, :units_billed}" unless order_article.units_billed.nil?
|
||||
units_info += ", #{order_article.units_received} #{heading_helper OrderArticle, :units_received}" unless order_article.units_received.nil?
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -7,9 +7,9 @@
|
|||
= hidden_field_tag :without_units, true
|
||||
- else
|
||||
.fold-line
|
||||
= form.input :units_to_order, label: 'Amount ordered', hint: '', input_html: {class: 'input-nano'}
|
||||
= form.input :units_to_order, hint: '', input_html: {class: 'input-nano'}
|
||||
-#= form.input :units_billed, label: 'invoice', input_html: {class: 'input-nano'}
|
||||
= form.input :units_received, label: 'received', input_html: {class: 'input-nano'}
|
||||
= form.input :units_received, input_html: {class: 'input-nano'}
|
||||
%p.help-block= t 'simple_form.hints.order_article.units_to_order'
|
||||
|
||||
.foo{style: 'clear:both'}
|
||||
|
|
|
@ -73,10 +73,10 @@
|
|||
%th.default-sort.sort{:data => {:sort => 'string'}}= heading_helper Article, :name
|
||||
%th= heading_helper Article, :unit
|
||||
%th= heading_helper Article, :price
|
||||
%th= t '.members' # TODO: find term for this
|
||||
%th Ordered
|
||||
%th= heading_helper OrderArticle, :units_to_order, short: true
|
||||
%th= heading_helper OrderArticle, :quantity, short: true
|
||||
-#%th Invoice # TODO implement invoice screen
|
||||
%th= heading_helper OrderArticle, :units_received
|
||||
%th= heading_helper OrderArticle, :units_received, short: true
|
||||
%th
|
||||
%th= t 'ui.actions'
|
||||
%tfoot
|
||||
|
|
|
@ -77,12 +77,17 @@ de:
|
|||
note: Notiz
|
||||
starts: Läuft vom
|
||||
status: Status
|
||||
supplier: Lieferant
|
||||
order_article:
|
||||
article: Artikel
|
||||
missing_units: Fehlende Einheiten
|
||||
missing_units_short: Fehlende
|
||||
units_received: Erhalten
|
||||
units_to_order: Menge
|
||||
missing_units_short: Fehlend
|
||||
quantity: Gewünschte Einheiten
|
||||
quantity_short: Gewünscht
|
||||
units_received: Gelieferte Gebinde
|
||||
units_received_short: Geliefert
|
||||
units_to_order: Bestellte Gebinde
|
||||
units_to_order_short: Bestellt
|
||||
update_current_price: Globalen Preis aktualisieren
|
||||
order_comment:
|
||||
text: Kommentiere diese Bestellung ...
|
||||
|
@ -1096,6 +1101,9 @@ de:
|
|||
notice: Die Bestellung wurde erstellt.
|
||||
edit:
|
||||
title: Bestellung bearbeiten
|
||||
edit_amount:
|
||||
locked_to_protect_manual_update: Die Verteilung dieses Artikels auf die einzelnen Bestellgruppen wurde manuell angepasst. Dieses Eingabefeld wurde gesperrt, um die manuellen Änderungen zu bewahren. Um den Artikel neu zu verteilen, drücke den Entsperrknopf und ändere die gelieferte Menge.
|
||||
locked_to_protect_unlock_button: Drücke diesen Knopf, um das Eingabefeld für die gelieferte Menge zu entsperren. Vorherige manuelle Änderungen werden überschrieben und der Artikel wird wieder automatisch auf die Bestellgruppen aufgeteilt, wenn Du die Menge änderst.
|
||||
fax:
|
||||
amount: Menge
|
||||
articles: Artikel
|
||||
|
@ -1114,12 +1122,14 @@ de:
|
|||
title: Artikel
|
||||
index:
|
||||
action_end: Beenden
|
||||
action_receive: In Empfang nehmen
|
||||
closed_orders: Abgerechnete Bestellungen
|
||||
confirm_delete: Willst Du wirklich die Bestellung löschen?
|
||||
confirm_end: Willst Du wirklich die Bestellung %{order} beenden? Es gibt kein zurück.
|
||||
ended_orders: Beendete Bestellungen
|
||||
new_order: Neue Bestellung anlegen
|
||||
no_open_orders: Derzeit gibt es keine laufende Bestellungen.
|
||||
open_orders: Laufende Bestellungen
|
||||
orders_in_progress: In Bearbeitung
|
||||
title: Bestellungen verwalten
|
||||
model:
|
||||
error_closed: Bestellung wurde schon abgerechnet
|
||||
|
|
|
@ -77,12 +77,17 @@ en:
|
|||
note: Note
|
||||
starts: Starts at
|
||||
status: Status
|
||||
supplier: Supplier
|
||||
order_article:
|
||||
article: Article
|
||||
missing_units: Missing units
|
||||
missing_units_short: Missing
|
||||
units_received: Received
|
||||
units_to_order: Amount of units
|
||||
quantity: Desired amount
|
||||
quantity_short: Desired
|
||||
units_received: Received amount of units
|
||||
units_received_short: Received
|
||||
units_to_order: Ordered amount of units
|
||||
units_to_order_short: Ordered
|
||||
update_current_price: Globally update current price
|
||||
order_comment:
|
||||
text: Add comment to this order ...
|
||||
|
@ -1102,7 +1107,7 @@ en:
|
|||
edit:
|
||||
title: Edit order
|
||||
edit_amount:
|
||||
locked_to_protect_manual_update: The distribution of this article among the ordergroups was changed manually. This field is locked in order to protect those changes. To redistribute anyway, press the unlock button and change the amount.
|
||||
locked_to_protect_manual_update: The distribution of this article among the ordergroups was changed manually. This field was locked in order to protect those changes. To redistribute anyway, press the unlock button and change the amount.
|
||||
locked_to_protect_unlock_button: Press this button to unlock the received field. Any previous manual changes will be overwritten and the article will be redistributed over the ordergroups.
|
||||
fax:
|
||||
amount: Amount
|
||||
|
|
Loading…
Reference in a new issue