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,17 +1,5 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item active"><%= t :sale %></li>
<span class="float-right">
<%food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")%>
<% if food_court %>
<%= link_to 'Back', transactions_bookings_path %>
<% else %>
<%= link_to 'Back', dashboard_path %>
<%end%>
</span>
</ol>
</div>
<% breadcrumb_add t('sale'), "", @food_court ? transactions_bookings_path : dashboard_path %>
<style>
@media screen and (max-width: 785px) {
section.content{

View File

@@ -1,13 +1,4 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= transactions_sales_path %>"><%= t :sale %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to 'Back', transactions_sales_path %>
</span>
</ol>
</div>
<% breadcrumb_add t('sale'), transactions_sales_path, transactions_sales_path, t('details') %>
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12">
<!-- Column One -->