Add transport costs to Order

This commit is contained in:
Patrick Gansterer 2020-03-19 00:22:20 +01:00
parent 8cb70d819e
commit 4c567fece1
16 changed files with 141 additions and 6 deletions

View file

@ -113,6 +113,13 @@ de:
pickup: Abholung
starts: Läuft vom
supplier: Lieferant
transport: Transportkosten
transport_distribution: Transportkostenverteilung
transport_distributions:
articles: Kosten anhand der Anzahl an erhaltenen Artiklen verteilen
ordergroup: Jede Bestellgruppe zahlt gleich viel
price: Kosten anhand der Bestellsumme aufteilen
skip: Kosten nicht auf die Bestellgruppen aufteilen
updated_by: Zuletzt geändert von
order_article:
article: Artikel
@ -738,8 +745,11 @@ de:
edit_results_by_articles:
add_article: Artikel hinzufügen
amount: Menge
edit_transport: Transportkosten bearbeiten
gross: Brutto
net: Netto
edit_transport:
title: Transportkosten verteilen
group_order_articles:
add_group: Gruppe hinzufügen
total: Gesamtpreis

View file

@ -121,6 +121,13 @@ en:
starts: Starts at
status: Status
supplier: Supplier
transport: Transport costs
transport_distribution: Transport costs distribution
transport_distributions:
articles: Distribute the costs among the number of received articles
ordergroup: Every ordergroup pays the same amount
price: Distribute the costs among the order sum
skip: Do not distribute the costs
updated_by: Last edited by
order_article:
article: Article
@ -761,8 +768,11 @@ en:
edit_results_by_articles:
add_article: Add article
amount: Amount
edit_transport: Edit transport
gross: Gross
net: Net
edit_transport:
title: Distribute transport costs
group_order_articles:
add_group: Add group
total: Total costs

View file

@ -154,6 +154,8 @@ Foodsoft::Application.routes.draw do
get :update_summary
get :edit_note
put :update_note
get :edit_transport
put :update_transport
get :confirm
post :close