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
6ce659e78a
commit
f38e2bff70
13 changed files with 111 additions and 17 deletions
3
app/views/orders/custom_csv.js.haml
Normal file
3
app/views/orders/custom_csv.js.haml
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
$('#modalContainer').html('#{j(render("custom_csv_form"))}');
|
||||
$('#modalContainer').modal();
|
||||
$('#modalContainer').submit(function() {$('#modalContainer').modal('hide');});
|
||||
Loading…
Add table
Add a link
Reference in a new issue