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>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<% breadcrumb_add t('queue'), crm_dining_queues_path, crm_dining_queues_path, t("views.btn.#{action_name}") %>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
|
||||
<div class="card">
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
<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"><a href="<%= crm_dining_queues_path %>">Queue</a></li>
|
||||
<li class="breadcrumb-item active">Assign Queue <%=@queue.queue_no%></li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<% breadcrumb_add 'Queue', crm_dining_queues_path, dashboard_path, "Assign Queue #{@queue.queue_no}" %>
|
||||
|
||||
<div class="row">
|
||||
<!-- Column One -->
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
|
||||
@@ -1,11 +1,3 @@
|
||||
|
||||
<div class="span12">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= root_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= crm_dining_queues_path %>"><%= t("en.queue") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
|
||||
</ul>
|
||||
</div>
|
||||
<%= render 'form', dining_queue: @dining_queue %>
|
||||
</div>
|
||||
|
||||
@@ -1,13 +1,4 @@
|
||||
<div class="container-fluid">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("en.queue") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', dashboard_path %>
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
<% breadcrumb_add t('queue'), "", dashboard_path %>
|
||||
|
||||
<div class="row">
|
||||
<!-- Column One -->
|
||||
|
||||
@@ -1,15 +1,3 @@
|
||||
<div class="container-fluid">
|
||||
<div class="page-header">
|
||||
<ul class="breadcrumb">
|
||||
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
|
||||
<li class="breadcrumb-item"><a href="<%= crm_dining_queues_path %>"><%= t("en.queue") %></a></li>
|
||||
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
|
||||
<span class="float-right">
|
||||
<%= link_to 'Back', crm_dining_queues_path %>
|
||||
</span>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<%= render 'form', dining_queue: @dining_queue %>
|
||||
|
||||
<%= render 'form', dining_queue: @dining_queue %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user