feat(order): export order to custom csv file
add custom_csv_collection to orders helper add rute and controller method to orders controller add custom csv to download dropdown add functionality to choose column headers + order for custom csv and append order.sum gross&net to custom csv
This commit is contained in:
parent
4b5775e107
commit
d81ae10dc8
13 changed files with 111 additions and 17 deletions
|
|
@ -1465,6 +1465,9 @@ de:
|
|||
units_ordered: Bestellte Einheiten
|
||||
create:
|
||||
notice: Die Bestellung wurde erstellt.
|
||||
custom_csv:
|
||||
description: Wähle die Attribute und deren Reihenfolge für die zu erzeugende CSV Datei
|
||||
column: Spalte
|
||||
edit:
|
||||
title: 'Bestellung bearbeiten: %{name}'
|
||||
edit_amount:
|
||||
|
|
|
|||
|
|
@ -1475,6 +1475,9 @@ en:
|
|||
units_ordered: Units ordered
|
||||
create:
|
||||
notice: The order was created.
|
||||
custom_csv:
|
||||
description: Please choose the order as well as the attributes for the csv file
|
||||
column: column
|
||||
edit:
|
||||
title: 'Edit order: %{name}'
|
||||
edit_amount:
|
||||
|
|
@ -1628,6 +1631,7 @@ en:
|
|||
who_ordered: Who ordered?
|
||||
order_download_button:
|
||||
article_pdf: Article PDF
|
||||
custom_csv: Custom CSV
|
||||
download_file: Download file
|
||||
fax_csv: Fax CSV
|
||||
fax_pdf: Fax PDF
|
||||
|
|
|
|||
|
|
@ -1261,6 +1261,9 @@ es:
|
|||
units_ordered: Unidades pedidas
|
||||
create:
|
||||
notice: Se ha creado el pedido
|
||||
custom_csv:
|
||||
description: Por favor elija el orden de los atributos así como los atributos para el archivo csv
|
||||
column: columna
|
||||
edit:
|
||||
title: 'Edita pedido: %{name}'
|
||||
edit_amount:
|
||||
|
|
|
|||
|
|
@ -1011,6 +1011,9 @@ fr:
|
|||
units_ordered: Unités commandées
|
||||
create:
|
||||
notice: La commande a bien été définie.
|
||||
custom_csv:
|
||||
description: Veuillez choisir l'ordre des attributs ainsi que les attributs pour le fichier csv
|
||||
column: colonne
|
||||
edit:
|
||||
title: 'Modifier la commande: %{name}'
|
||||
edit_amount:
|
||||
|
|
|
|||
|
|
@ -1440,6 +1440,9 @@ nl:
|
|||
units_ordered: Bestelde eenheden
|
||||
create:
|
||||
notice: De bestelling is aangemaakt.
|
||||
custom_csv:
|
||||
description: Kies de volgorde van de attributen en de attributen voor het csv-bestand
|
||||
column: kolom
|
||||
edit:
|
||||
title: 'Bestelling aanpassen: %{name}'
|
||||
edit_amount:
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ Rails.application.routes.draw do
|
|||
get :receive
|
||||
post :receive
|
||||
|
||||
get :custom_csv
|
||||
get :receive_on_order_article_create
|
||||
get :receive_on_order_article_update
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue