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?
|
if order_article.order.open?
|
||||||
nil
|
nil
|
||||||
else
|
else
|
||||||
units_info = "#{order_article.units_to_order} ordered"
|
units_info = "#{order_article.units_to_order} #{heading_helper OrderArticle, :units_to_order}"
|
||||||
units_info += ", #{order_article.units_billed} billed" unless order_article.units_billed.nil?
|
units_info += ", #{order_article.units_billed} #{heading_helper OrderArticle, :units_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_received} #{heading_helper OrderArticle, :units_received}" unless order_article.units_received.nil?
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -7,9 +7,9 @@
|
||||||
= hidden_field_tag :without_units, true
|
= hidden_field_tag :without_units, true
|
||||||
- else
|
- else
|
||||||
.fold-line
|
.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_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'
|
%p.help-block= t 'simple_form.hints.order_article.units_to_order'
|
||||||
|
|
||||||
.foo{style: 'clear:both'}
|
.foo{style: 'clear:both'}
|
||||||
|
|
|
@ -73,10 +73,10 @@
|
||||||
%th.default-sort.sort{:data => {:sort => 'string'}}= heading_helper Article, :name
|
%th.default-sort.sort{:data => {:sort => 'string'}}= heading_helper Article, :name
|
||||||
%th= heading_helper Article, :unit
|
%th= heading_helper Article, :unit
|
||||||
%th= heading_helper Article, :price
|
%th= heading_helper Article, :price
|
||||||
%th= t '.members' # TODO: find term for this
|
%th= heading_helper OrderArticle, :units_to_order, short: true
|
||||||
%th Ordered
|
%th= heading_helper OrderArticle, :quantity, short: true
|
||||||
-#%th Invoice # TODO implement invoice screen
|
-#%th Invoice # TODO implement invoice screen
|
||||||
%th= heading_helper OrderArticle, :units_received
|
%th= heading_helper OrderArticle, :units_received, short: true
|
||||||
%th
|
%th
|
||||||
%th= t 'ui.actions'
|
%th= t 'ui.actions'
|
||||||
%tfoot
|
%tfoot
|
||||||
|
|
|
@ -77,12 +77,17 @@ de:
|
||||||
note: Notiz
|
note: Notiz
|
||||||
starts: Läuft vom
|
starts: Läuft vom
|
||||||
status: Status
|
status: Status
|
||||||
|
supplier: Lieferant
|
||||||
order_article:
|
order_article:
|
||||||
article: Artikel
|
article: Artikel
|
||||||
missing_units: Fehlende Einheiten
|
missing_units: Fehlende Einheiten
|
||||||
missing_units_short: Fehlende
|
missing_units_short: Fehlend
|
||||||
units_received: Erhalten
|
quantity: Gewünschte Einheiten
|
||||||
units_to_order: Menge
|
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
|
update_current_price: Globalen Preis aktualisieren
|
||||||
order_comment:
|
order_comment:
|
||||||
text: Kommentiere diese Bestellung ...
|
text: Kommentiere diese Bestellung ...
|
||||||
|
@ -1096,6 +1101,9 @@ de:
|
||||||
notice: Die Bestellung wurde erstellt.
|
notice: Die Bestellung wurde erstellt.
|
||||||
edit:
|
edit:
|
||||||
title: Bestellung bearbeiten
|
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:
|
fax:
|
||||||
amount: Menge
|
amount: Menge
|
||||||
articles: Artikel
|
articles: Artikel
|
||||||
|
@ -1114,12 +1122,14 @@ de:
|
||||||
title: Artikel
|
title: Artikel
|
||||||
index:
|
index:
|
||||||
action_end: Beenden
|
action_end: Beenden
|
||||||
|
action_receive: In Empfang nehmen
|
||||||
|
closed_orders: Abgerechnete Bestellungen
|
||||||
confirm_delete: Willst Du wirklich die Bestellung löschen?
|
confirm_delete: Willst Du wirklich die Bestellung löschen?
|
||||||
confirm_end: Willst Du wirklich die Bestellung %{order} beenden? Es gibt kein zurück.
|
confirm_end: Willst Du wirklich die Bestellung %{order} beenden? Es gibt kein zurück.
|
||||||
ended_orders: Beendete Bestellungen
|
|
||||||
new_order: Neue Bestellung anlegen
|
new_order: Neue Bestellung anlegen
|
||||||
no_open_orders: Derzeit gibt es keine laufende Bestellungen.
|
no_open_orders: Derzeit gibt es keine laufende Bestellungen.
|
||||||
open_orders: Laufende Bestellungen
|
open_orders: Laufende Bestellungen
|
||||||
|
orders_in_progress: In Bearbeitung
|
||||||
title: Bestellungen verwalten
|
title: Bestellungen verwalten
|
||||||
model:
|
model:
|
||||||
error_closed: Bestellung wurde schon abgerechnet
|
error_closed: Bestellung wurde schon abgerechnet
|
||||||
|
|
|
@ -77,12 +77,17 @@ en:
|
||||||
note: Note
|
note: Note
|
||||||
starts: Starts at
|
starts: Starts at
|
||||||
status: Status
|
status: Status
|
||||||
|
supplier: Supplier
|
||||||
order_article:
|
order_article:
|
||||||
article: Article
|
article: Article
|
||||||
missing_units: Missing units
|
missing_units: Missing units
|
||||||
missing_units_short: Missing
|
missing_units_short: Missing
|
||||||
units_received: Received
|
quantity: Desired amount
|
||||||
units_to_order: Amount of units
|
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
|
update_current_price: Globally update current price
|
||||||
order_comment:
|
order_comment:
|
||||||
text: Add comment to this order ...
|
text: Add comment to this order ...
|
||||||
|
@ -1102,7 +1107,7 @@ en:
|
||||||
edit:
|
edit:
|
||||||
title: Edit order
|
title: Edit order
|
||||||
edit_amount:
|
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.
|
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:
|
fax:
|
||||||
amount: Amount
|
amount: Amount
|
||||||
|
|
Loading…
Reference in a new issue