Merge pull request #222 from wvengen/feature-receive
New receive screen
This commit is contained in:
commit
8b4c292ea0
52 changed files with 1168 additions and 182 deletions
|
|
@ -1,4 +1,10 @@
|
|||
# only serve selected strings for i18n-js to keep filesize down
|
||||
translations:
|
||||
- file: 'app/assets/javascripts/i18n/translations.js'
|
||||
only: ['*.js.*', '*.number.*', '*.date.formats.*']
|
||||
only: [
|
||||
'*.js.*',
|
||||
'*.number.*',
|
||||
'*.date.formats.*',
|
||||
# foodsoft-specific texts to keep js with normal translations
|
||||
'*.orders.edit_amount.*'
|
||||
]
|
||||
|
|
|
|||
|
|
@ -77,10 +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_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 ...
|
||||
|
|
@ -277,7 +284,7 @@ de:
|
|||
error_denied: Du darfst die gewünschte Seite nicht sehen. Wenn Du denkst, dass Du dürfen solltest, frage eine Administratorin, dass sie Dir die entsprechenden Rechte einräumt. Falls Du Zugang zu mehreren Benutzerkonten hast, möchtest Du Dich vielleicht %{sign_in}.
|
||||
error_denied_sign_in: als ein anderer Benutzer anmelden
|
||||
error_members_only: Diese Aktion ist nur für Mitglieder der Gruppe erlaubt!
|
||||
error_token:
|
||||
error_token: Zugriff verweigert (ungültiger Token)!
|
||||
article_categories:
|
||||
create:
|
||||
notice: Die Kategorie wurde gespeichert
|
||||
|
|
@ -377,7 +384,9 @@ de:
|
|||
update:
|
||||
body: ! 'Jeder Artikel wird doppelt angezeigt: die alten Werte sind grau und die Textfelder sind mit den aktuellen Werten vorausgefüllt. Abweichungen zu den alten Artikeln sind gelb markiert.'
|
||||
title: Aktualisieren ...
|
||||
update_msg: ! '%{count} Artikel müssen aktualisiert werden.'
|
||||
update_msg:
|
||||
one: Ein Artikel muss aktualisiert werden.
|
||||
other: ! '%{count} Artikel müssen aktualisiert werden.'
|
||||
upload:
|
||||
body: <p>Die Datei muss eine Textdatei mit der Endung '.csv' sein. Die erste Zeile wird beim Einlesen ignoriert.</p> <p>Die Felder müssen mit einem Semikolon (';') getrennt und der Text mit doppelten Anführungszeichen ("Text...") umklammert werden.</p> <p>Als Zeichensatz wird UTF-8 erwartet. Korrekte Reihenfolge der Spalten:</p>
|
||||
fields:
|
||||
|
|
@ -469,7 +478,9 @@ de:
|
|||
- FC-Preis
|
||||
- Menge
|
||||
title: ! 'Sortiermatrix der Bestellung: %{name}, beendet am %{date}'
|
||||
total: Insgesamt %{count} Artikel
|
||||
total:
|
||||
one: Insgesamt ein Artikel
|
||||
other: ! 'Insgesamt %{count} Artikel'
|
||||
errors:
|
||||
general: Ein Problem ist aufgetreten.
|
||||
general_again: Ein Fehler ist aufgetreten. Bitte erneut versuchen.
|
||||
|
|
@ -613,12 +624,6 @@ de:
|
|||
show:
|
||||
back: Züruck
|
||||
title: Rechnung %{number}
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: Preise von Lagerartikeln können nicht geändert werden!
|
||||
title: Artikel aktualisieren
|
||||
new:
|
||||
title: Neuer gelieferter Artikel die Bestellung
|
||||
ordergroups:
|
||||
index:
|
||||
new_transaction: Neue Überweisungen eingeben
|
||||
|
|
@ -741,6 +746,7 @@ de:
|
|||
new_invoice: Rechnung anlegen
|
||||
show_invoice: Rechnung anzeigen
|
||||
orders:
|
||||
old_price: Alter Preis
|
||||
option_choose: Lieferantin/Lager auswählen
|
||||
option_stock: Lager
|
||||
order_pdf: PDF erstellen
|
||||
|
|
@ -1085,6 +1091,12 @@ de:
|
|||
model:
|
||||
error_single_group: ! '%{user} ist schon in einer anderen Bestellgruppe'
|
||||
invalid_balance: ist keine gültige Zahl
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: Preise von Lagerartikeln können nicht geändert werden!
|
||||
title: Artikel aktualisieren
|
||||
new:
|
||||
title: Neuer gelieferter Artikel der Bestellung
|
||||
orders:
|
||||
articles:
|
||||
article_count: ! 'Bestellte Artikel:'
|
||||
|
|
@ -1096,6 +1108,9 @@ de:
|
|||
notice: Die Bestellung wurde erstellt.
|
||||
edit:
|
||||
title: Bestellung bearbeiten
|
||||
edit_amount:
|
||||
field_locked_title: Die Verteilung dieses Artikels auf die einzelnen Bestellgruppen wurde manuell angepasst. Das Eingabefeld wurde gesperrt, um die manuellen Änderungen zu bewahren. Um den Artikel neu zu verteilen, drücke den Entsperrknopf und ändere die gelieferte Menge.
|
||||
field_unlocked_title: Die Verteilung dieses Artikels auf die einzelnen Bestellgruppen wurde manuell angepasst. Wenn du die gelieferte Menge änderst, werden die vorherigen manuellen Änderungen überschrieben.
|
||||
fax:
|
||||
amount: Menge
|
||||
articles: Artikel
|
||||
|
|
@ -1114,12 +1129,14 @@ de:
|
|||
title: Artikel
|
||||
index:
|
||||
action_end: Beenden
|
||||
action_receive: In Empfang nehmen
|
||||
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
|
||||
no_open_or_finished_orders: Derzeit gibt es keine laufende oder beendete Bestellungen.
|
||||
orders_finished: Beendet
|
||||
orders_open: Laufend
|
||||
orders_settled: Abgerechnet
|
||||
title: Bestellungen verwalten
|
||||
model:
|
||||
error_closed: Bestellung wurde schon abgerechnet
|
||||
|
|
@ -1131,6 +1148,15 @@ de:
|
|||
warning_ordered_stock: ! 'Warnung: Die rot markierten Artikel wurden in der laufenden Lagerbestellung bereits bestellt bzw. gekauft. Wenn Du sie hier abwählst, werden alle bestehenden Bestellungen bzw. Käufe dieses Artikels gelöscht und nicht abgerechnet!'
|
||||
new:
|
||||
title: Neue Bestellung anlegen
|
||||
receive:
|
||||
add_article: Artikel hinzufügen
|
||||
consider_member_tolerance: Toleranz berücksichtigen
|
||||
notice: ! 'Bestellung in Empfang genommen: %{msg}'
|
||||
notice_none: Keine neuen Artikel für den Empfang ausgewählt.
|
||||
rest_to_stock: Rest ins Lager
|
||||
submit: Bestellung in Empfang nehmen
|
||||
surplus_options: 'Verteilungsoptionen:'
|
||||
title: »%{order}« in Empfang nehmen
|
||||
show:
|
||||
action_end: Beenden!
|
||||
amounts: ! 'Netto/Bruttosumme:'
|
||||
|
|
@ -1162,6 +1188,11 @@ de:
|
|||
open: laufend
|
||||
update:
|
||||
notice: Die Bestellung wurde aktualisiert.
|
||||
update_order_amounts:
|
||||
update_order_amounts:
|
||||
msg1: "%{count} Artikel (%{units} Einheiten) aktualisiert"
|
||||
msg2: "%{count} (%{units}) Toleranzmenge"
|
||||
msg4: "%{count} (%{units}) übrig"
|
||||
pages:
|
||||
all:
|
||||
new_page: Neue Seite anlegen
|
||||
|
|
|
|||
|
|
@ -77,10 +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_to_order: Amount of units
|
||||
quantity: Desired amount
|
||||
quantity_short: Desired
|
||||
units_received: Received units
|
||||
units_received_short: Received
|
||||
units_to_order: Ordered units
|
||||
units_to_order_short: Ordered
|
||||
update_current_price: Globally update current price
|
||||
order_comment:
|
||||
text: Add comment to this order ...
|
||||
|
|
@ -617,12 +624,6 @@ en:
|
|||
show:
|
||||
back: Back
|
||||
title: Invoice %{number}
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: The price of stock articles cannot be changed!
|
||||
title: Update article
|
||||
new:
|
||||
title: Add delivered article to order
|
||||
ordergroups:
|
||||
index:
|
||||
new_transaction: Add new transactions
|
||||
|
|
@ -745,6 +746,7 @@ en:
|
|||
new_invoice: New invoice
|
||||
show_invoice: Show invoice
|
||||
orders:
|
||||
old_price: Old price
|
||||
option_choose: Choose supplier/stock
|
||||
option_stock: Stock
|
||||
order_pdf: Create PDF
|
||||
|
|
@ -1089,6 +1091,12 @@ en:
|
|||
model:
|
||||
error_single_group: ! '%{user} is already a member of another ordergroup'
|
||||
invalid_balance: is not a valid number
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: The price of stock articles cannot be changed!
|
||||
title: Update article
|
||||
new:
|
||||
title: Add delivered article to order
|
||||
orders:
|
||||
articles:
|
||||
article_count: ! 'Ordered articles:'
|
||||
|
|
@ -1100,6 +1108,9 @@ en:
|
|||
notice: The order was created.
|
||||
edit:
|
||||
title: Edit order
|
||||
edit_amount:
|
||||
field_locked_title: The distribution of this article among the ordergroups was changed manually. This field is locked to protect those changes. To redistribute and overwrite those changes, press the unlock button and change the amount.
|
||||
field_unlocked_title: The distribution of this article among the ordergroups was changed manually. When you change the amount, those manual changes will be overwritten.
|
||||
fax:
|
||||
amount: Amount
|
||||
articles: Articles
|
||||
|
|
@ -1118,12 +1129,14 @@ en:
|
|||
title: Article
|
||||
index:
|
||||
action_end: Close
|
||||
action_receive: Receive
|
||||
confirm_delete: Do you really want to delete the order?
|
||||
confirm_end: Do you really want to close the order %{order}? There is no going back.
|
||||
ended_orders: Closed orders
|
||||
new_order: Create new order
|
||||
no_open_orders: There are currently no open orders.
|
||||
open_orders: Current orders
|
||||
no_open_or_finished_orders: There are currently no open or closed orders.
|
||||
orders_finished: Closed
|
||||
orders_open: Open
|
||||
orders_settled: Settled
|
||||
title: Manage orders
|
||||
model:
|
||||
error_closed: Order was already settled
|
||||
|
|
@ -1135,6 +1148,15 @@ en:
|
|||
warning_ordered_stock: ! 'Warning: Articles marked red have already been ordered/purchased within this open stock order. If you uncheck them here, all existing orders/purchases of these articles will be deleted and it will not be accounted for them.'
|
||||
new:
|
||||
title: Create new order
|
||||
receive:
|
||||
add_article: Add article
|
||||
consider_member_tolerance: consider tolerance
|
||||
notice: ! 'Order received: %{msg}'
|
||||
notice_none: No new articles to receive
|
||||
rest_to_stock: rest to stock
|
||||
submit: Receive order
|
||||
surplus_options: 'Distribution options:'
|
||||
title: Receiving %{order}
|
||||
show:
|
||||
action_end: Close!
|
||||
amounts: ! 'Net/gross sum:'
|
||||
|
|
@ -1166,6 +1188,11 @@ en:
|
|||
open: open
|
||||
update:
|
||||
notice: The order was updated.
|
||||
update_order_amounts:
|
||||
msg1: "%{count} articles (%{units} units) updated"
|
||||
msg2: "%{count} (%{units}) using tolerance"
|
||||
msg3: "%{count} (%{units}) go to stock if foodsoft would support that [don't translate]"
|
||||
msg4: "%{count} (%{units}) left over"
|
||||
pages:
|
||||
all:
|
||||
new_page: Create new page
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ fr:
|
|||
starts: Ouverture le
|
||||
status:
|
||||
order_article:
|
||||
article: Article
|
||||
missing_units: Unités manquantes
|
||||
missing_units_short:
|
||||
units_to_order: Quantité
|
||||
|
|
@ -627,12 +628,6 @@ fr:
|
|||
show:
|
||||
back: Retour
|
||||
title: Facture %{number}
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert:
|
||||
title: Mettre à jour la liste des article
|
||||
new:
|
||||
title:
|
||||
ordergroups:
|
||||
index:
|
||||
new_transaction: Saisir une nouvelle transaction
|
||||
|
|
@ -1094,6 +1089,12 @@ fr:
|
|||
model:
|
||||
error_single_group: ! '%{user} fait déjà partie d''une autre cellule'
|
||||
invalid_balance: n'est pas un nombre valide
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert:
|
||||
title: Mettre à jour la liste des article
|
||||
new:
|
||||
title:
|
||||
orders:
|
||||
articles:
|
||||
article_count: ! 'Articles commandés:'
|
||||
|
|
@ -1125,10 +1126,11 @@ fr:
|
|||
action_end: Terminer
|
||||
confirm_delete: Vraiment supprimer la commande?
|
||||
confirm_end: Veux tu vraiment mettre fin à la commande %{order}? Attention, il n'y aura pas d'annulation possible.
|
||||
ended_orders: Commandes closes
|
||||
new_order: Définir une nouvelle commande
|
||||
no_open_orders: Il n'y a aucune commande en cours en ce moment.
|
||||
open_orders: Commandes en cours
|
||||
no_open_or_finished_orders: Il n'y a aucune commande en cours en ce moment.
|
||||
orders_finished: Close
|
||||
orders_open: En cours
|
||||
orders_settled: Décomptée
|
||||
title: Gestion des commandes
|
||||
model:
|
||||
error_closed: Cette commande a déjà été décomptée
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ nl:
|
|||
starts: Start op
|
||||
status: Status
|
||||
order_article:
|
||||
article: Artikel
|
||||
missing_units: Missende eenheden
|
||||
missing_units_short: Nodig
|
||||
units_to_order: Aantal eenheden
|
||||
|
|
@ -617,12 +618,6 @@ nl:
|
|||
show:
|
||||
back: Terug
|
||||
title: Factuur %{number}
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: De prijs van voorraadartikelen kan niet aangepast worden!
|
||||
title: Artikel bijwerken
|
||||
new:
|
||||
title: Geleverd artikel aan bestelling toevoegen
|
||||
ordergroups:
|
||||
index:
|
||||
new_transaction: Nieuwe transacties toevoegen
|
||||
|
|
@ -1069,6 +1064,12 @@ nl:
|
|||
model:
|
||||
error_single_group: ! '%{user} behoort al tot een ander huishouden'
|
||||
invalid_balance: is geen geldig nummer
|
||||
order_articles:
|
||||
edit:
|
||||
stock_alert: De prijs van voorraadartikelen kan niet aangepast worden!
|
||||
title: Artikel bijwerken
|
||||
new:
|
||||
title: Geleverd artikel aan bestelling toevoegen
|
||||
orders:
|
||||
articles:
|
||||
article_count: ! 'Bestelde artikelen:'
|
||||
|
|
@ -1100,10 +1101,11 @@ nl:
|
|||
action_end: Sluiten
|
||||
confirm_delete: Wil je de bestelling werkelijk verwijderen?
|
||||
confirm_end: Wil je de bestelling %{order} werkelijk sluiten? Dit kun je niet ongedaan maken.
|
||||
ended_orders: Gesloten bestellingen
|
||||
new_order: Nieuwe bestelling openen
|
||||
no_open_orders: Er zijn momenteel geen lopende bestellingen.
|
||||
open_orders: Lopende bestellingen
|
||||
no_open_or_finished_orders: Er zijn momenteel geen open of gesloten bestellingen.
|
||||
orders_finished: Gesloten
|
||||
orders_open: Open
|
||||
orders_settled: Afgerekend
|
||||
title: Bestellingen beheren
|
||||
model:
|
||||
error_closed: Bestelling was al afgerekend
|
||||
|
|
|
|||
|
|
@ -38,7 +38,15 @@ Foodsoft::Application.routes.draw do
|
|||
member do
|
||||
post :finish
|
||||
post :add_comment
|
||||
|
||||
get :receive
|
||||
post :receive
|
||||
|
||||
get :receive_on_order_article_create
|
||||
get :receive_on_order_article_update
|
||||
end
|
||||
|
||||
resources :order_articles
|
||||
end
|
||||
|
||||
resources :group_orders do
|
||||
|
|
@ -141,9 +149,10 @@ Foodsoft::Application.routes.draw do
|
|||
get :confirm
|
||||
put :close
|
||||
put :close_direct
|
||||
|
||||
get :new_on_order_article_create
|
||||
get :new_on_order_article_update
|
||||
end
|
||||
|
||||
resources :order_articles
|
||||
end
|
||||
|
||||
resources :group_order_articles do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue