fix cashier page height & breadcrumb helper

This commit is contained in:
Zin Moe
2020-01-27 16:30:58 +06:30
parent c8ff92975e
commit bca6fabaaf
142 changed files with 266 additions and 1207 deletions

View File

@@ -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>