diff --git a/app/views/crm/customers/index.html.erb b/app/views/crm/customers/index.html.erb
index 7ccd8fb8..f97de091 100644
--- a/app/views/crm/customers/index.html.erb
+++ b/app/views/crm/customers/index.html.erb
@@ -44,7 +44,7 @@
<% if @crm_customers.count > 0 %>
<% @crm_customers.each do |crm_customer| %>
-
+ <% if crm_customer.customer_id != "CUS-000000000001" && crm_customer.customer_id != "CUS-000000000002" %>
|
|
@@ -55,7 +55,7 @@
<%= link_to 'Show', crm_customer_path(crm_customer) %> |
-
+ <% end %>
<% end %>
<%else%>
There are no record for your search |
@@ -103,12 +103,12 @@
- <%= f.text_field :date_of_birth,:class=>"form-control datepicker"%>
+ <%= f.text_field :date_of_birth,:value=>"01-01-1990",:class=>"form-control datepicker"%>
@@ -230,5 +231,12 @@ $(function() {
});
}
+ $('#reset').click(function() {
+
+ window.location.href = '/crm/customers'
+
+ return false;
+ });
+
\ No newline at end of file
diff --git a/app/views/origami/customers/index.html.erb b/app/views/origami/customers/index.html.erb
index 9f109497..dd2b1b99 100644
--- a/app/views/origami/customers/index.html.erb
+++ b/app/views/origami/customers/index.html.erb
@@ -2,9 +2,9 @@
- Home
- -
+
@@ -45,7 +45,7 @@
<% if @crm_customers.count > 0 %>
<% @crm_customers.each do |crm_customer| %>
-
+ <% if crm_customer.customer_id != "CUS-000000000001" && crm_customer.customer_id != "CUS-000000000002" %>
|
|
@@ -56,7 +56,7 @@
-
+ <% end %>
<% end %>
<%else%>
There are no record for your search |
@@ -106,7 +106,7 @@
- <%= f.text_field :date_of_birth,:class=>"form-control datepicker"%>
+ <%= f.text_field :date_of_birth,:value=>"01-01-1990",:class=>"form-control datepicker"%>