diff --git a/app/views/batch_line_items/export.csv.erb b/app/views/batch_line_items/export.csv.erb new file mode 100644 index 0000000..e69de29 diff --git a/app/views/batch_line_items/export.html.erb b/app/views/batch_line_items/export.html.erb new file mode 100644 index 0000000..5b765a4 --- /dev/null +++ b/app/views/batch_line_items/export.html.erb @@ -0,0 +1,60 @@ +
+ +
+
+
+
+ Export CSV +
+
+ <%= form_tag export_path(:format => :csv),:method => :post do%> +
+ + <%= select_tag "client", options_from_collection_for_select(@clients, "id", "name"),:class => 'form-control'%> +
+
+
+     + <%= button_tag "Export CSV",:class =>'btn btn-primary btn-sm',:id =>"btnexport" %> +
+ <% end %> +
+
+
+
+ + \ No newline at end of file