From 6fa89a9e754683973d38c96c8652fe965212ef32 Mon Sep 17 00:00:00 2001 From: Sunandar Date: Mon, 6 Feb 2017 18:32:36 +0630 Subject: [PATCH] add new files --- app/views/batch_line_items/export.csv.erb | 0 app/views/batch_line_items/export.html.erb | 60 ++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 app/views/batch_line_items/export.csv.erb create mode 100644 app/views/batch_line_items/export.html.erb 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