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
caa32de30c
commit
895589c03d
13 changed files with 111 additions and 17 deletions
|
|
@ -10,3 +10,4 @@
|
|||
- unless order.stockit?
|
||||
%li= link_to t('.fax_txt'), order_path(order, format: :txt), {title: t('.download_file')}
|
||||
%li= link_to t('.fax_csv'), order_path(order, format: :csv), {title: t('.download_file')}
|
||||
%li= link_to t('.custom_csv'), custom_csv_order_path(order), remote: true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue