fix cashier page height & breadcrumb helper
This commit is contained in:
@@ -1,14 +1,4 @@
|
||||
<div class="container-fluid">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
|
||||
<li class="breadcrumb-item active">CRM</li>
|
||||
<!-- <li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li> -->
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', crm_customers_path %>
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
<% breadcrumb_add 'CRM', "", dashboard_path %>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
@@ -65,7 +55,7 @@
|
||||
<td><%= @customer.date_of_birth rescue '-'%></td>
|
||||
<% if @customer.membership_type.to_f > 0%>
|
||||
<td><%lookup= Lookup.find_by_value(@customer.membership_type) %>
|
||||
<%= lookup.name %>
|
||||
<%= lookup.try(:name) %>
|
||||
</td>
|
||||
<%else%>
|
||||
<td>-</td>
|
||||
|
||||
Reference in New Issue
Block a user