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,12 +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("views.right_panel.detail.commission_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.commission_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<!-- <div class="container"> -->

View File

@@ -1,12 +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("views.right_panel.detail.credit_payment_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.credit_payment_report"), "", dashboard_path %>
<!-- <div class="container"> -->
<%= render :partial=>'shift_sale_report_filter',
:locals=>{ :period_type => true, :filter_for_credit => true, :shift_name => true, :report_path =>reports_credit_payment_index_path} %>

View File

@@ -1,13 +1,5 @@
<% breadcrumb_add t("views.right_panel.detail.daily_sale_report"), "", dashboard_path %>
<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("views.right_panel.detail.daily_sale_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<div class="row">
<div class="col-md-12 col-lg-12 col-sm-12 ">
<%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,13 +1,6 @@
<div class="container-fluid">
<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("views.right_panel.detail.hourly_saleitem_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.hourly_saleitem_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'hourly_saleitem_report_filter',

View File

@@ -1,12 +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("views.right_panel.detail.induty_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.induty_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +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("views.right_panel.detail.order_reservation_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.order_reservation_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">

View File

@@ -1,12 +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">Payment Method Report</li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add 'Payment Method Report', "", dashboard_path %>
<div class="row">
<div class="col-md-12">

View File

@@ -1,12 +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("views.right_panel.detail.receipt_no_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.receipt_no_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">

View File

@@ -1,13 +1,6 @@
<div class="container-fluid">
<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("views.right_panel.detail.receipt_no_report") %> Details</li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.receipt_no_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +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("views.right_panel.detail.sale_item_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.sale_item_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +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("views.right_panel.detail.shift_sale_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.shift_sale_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">

View File

@@ -1,12 +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("views.right_panel.detail.staff_meal_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.staff_meal_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'staff_meal_report_filter',

View File

@@ -1,12 +1,5 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">Stock Check Report</li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add 'Stock Check Report', "", dashboard_path %>
<div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">

View File

@@ -1,12 +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("views.right_panel.detail.void_sale_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.void_sale_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<!-- <div class="container"> -->

View File

@@ -1,13 +1,6 @@
<div class="container-fluid">
<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("views.right_panel.detail.waste_spoilage_report") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<% breadcrumb_add t("views.right_panel.detail.waste_spoilage_report"), "", dashboard_path %>
<div class="row">
<div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter',