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

@@ -24,7 +24,9 @@ $(document).ready(function() {
}); });
$('#order-detail-slimscroll').slimScroll({ $('#order-detail-slimscroll').slimScroll({
height: height-$('#order-detail-slimscroll').attr('data-height'), // height: '250px',
height: $('#order-detail-slimscroll').attr('data-height'),
// height: height-$('#order-detail-slimscroll').attr('data-height'),
size: '5px', size: '5px',
color: 'rgba(0,0,0,0.5)', color: 'rgba(0,0,0,0.5)',
alwaysVisible: false, alwaysVisible: false,

View File

@@ -0,0 +1,14 @@
.home.card {
height: 100%;
}
#order-detail-slimscroll {
display: block;
}
.pending-order.card-footer, .home.card-footer, .credit_sale.card-footer .inventory.card-footer{
width: 100%;
vertical-align: bottom;
position: absolute;
bottom: 0;
}

View File

@@ -11,6 +11,7 @@
@import "BSBMaterial/themes/all-themes"; @import "BSBMaterial/themes/all-themes";
@import "reset"; @import "reset";
@import "fileinput.min"; @import "fileinput.min";
@import "custom";
/* Reset */ /* Reset */

View File

@@ -23,6 +23,7 @@ class Transactions::BookingsController < ApplicationController
@receipt_no = filter @receipt_no = filter
@from = from @from = from
@to = to @to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
respond_to do |format| respond_to do |format|
format.html # index.html.erb format.html # index.html.erb
format.json { render json: @bookings } format.json { render json: @bookings }

View File

@@ -21,8 +21,9 @@ class Transactions::OrdersController < ApplicationController
end end
@receipt_no = filter @receipt_no = filter
@from = from @from = from
@to = to @to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
respond_to do |format| respond_to do |format|
format.html format.html

View File

@@ -35,6 +35,7 @@ class Transactions::SalesController < ApplicationController
@receipt_no = receipt_no @receipt_no = receipt_no
@from = from @from = from
@to = to @to = to
@food_court = Lookup.find_by_lookup_type_and_value("food_court", "1")
if @shift.present? if @shift.present?
@shift_from = @shift.shift_started_at.nil? ? '-' : @shift.shift_started_at.utc.getlocal.strftime("%e %b %I:%M%p") @shift_from = @shift.shift_started_at.nil? ? '-' : @shift.shift_started_at.utc.getlocal.strftime("%e %b %I:%M%p")

View File

@@ -0,0 +1,21 @@
module BreadcrumbHelper
def ensure_breadcrumb
@breadcrumb ||= [ { :title => t("views.right_panel.button.home"), :url => dashboard_path } ]
end
def back
@back ||= []
end
def breadcrumb_add(title, url, back_url, act_name = nil)
ensure_breadcrumb << { :title => title, :url => url }
ensure_breadcrumb << { :title => act_name, :url => '' } if act_name.present?
back << {url: back_url} if back_url.present?
end
def render_breadcrumb
render :partial => 'shared/breadcrumb', :locals => { :nav => ensure_breadcrumb, :back => back }
end
end

View File

@@ -109,6 +109,9 @@ class Customer < ApplicationRecord
}, },
:timeout => 10 :timeout => 10
) )
rescue Errno::ECONNREFUSED
response = {status: false, message: "Can't open membership server " }
rescue HTTParty::Error rescue HTTParty::Error
response = {status: false, message: "Can't open membership server " } response = {status: false, message: "Can't open membership server " }

View File

@@ -42,17 +42,17 @@ class Printer::PrinterWorker
end end
def print(file_path, printer_destination = nil ) def print(file_path, printer_destination = nil )
if printer_destination.nil? # if printer_destination.nil?
printer_destination = self.printer_destination # printer_destination = self.printer_destination
end # end
copy = self.print_copies # copy = self.print_copies
#Print only when printer information is not null # #Print only when printer information is not null
if !self.printer_destination.nil? # if !self.printer_destination.nil?
(1..copy).each do # (1..copy).each do
page = Cups::PrintJob.new(file_path, printer_destination) # page = Cups::PrintJob.new(file_path, printer_destination)
page.print # page.print
end # end
end # end
end end
end end

View File

@@ -1,14 +1,4 @@
<div class="container-fluid"> <% breadcrumb_add 'CRM', "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-lg-12 col-md-12 col-sm-12"> <div class="col-lg-12 col-md-12 col-sm-12">
@@ -65,7 +55,7 @@
<td><%= @customer.date_of_birth rescue '-'%></td> <td><%= @customer.date_of_birth rescue '-'%></td>
<% if @customer.membership_type.to_f > 0%> <% if @customer.membership_type.to_f > 0%>
<td><%lookup= Lookup.find_by_value(@customer.membership_type) %> <td><%lookup= Lookup.find_by_value(@customer.membership_type) %>
<%= lookup.name %> <%= lookup.try(:name) %>
</td> </td>
<%else%> <%else%>
<td>-</td> <td>-</td>

View File

@@ -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="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="card"> <div class="card">

View File

@@ -1,15 +1,6 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="page-header"> <% breadcrumb_add 'Queue', crm_dining_queues_path, dashboard_path, "Assign Queue #{@queue.queue_no}" %>
<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>
<div class="row"> <div class="row">
<!-- Column One --> <!-- Column One -->
<div class="col-lg-12 col-md-12 col-sm-12"> <div class="col-lg-12 col-md-12 col-sm-12">

View File

@@ -1,11 +1,3 @@
<div class="span12"> <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 %> <%= render 'form', dining_queue: @dining_queue %>
</div> </div>

View File

@@ -1,13 +1,4 @@
<div class="container-fluid"> <% breadcrumb_add t('queue'), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<!-- Column One --> <!-- Column One -->

View File

@@ -1,15 +1,3 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="page-header"> <%= render 'form', dining_queue: @dining_queue %>
<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 %>
</div> </div>

View File

@@ -1,12 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('inventory'), "", dashboard_path %>
<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 :inventory %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row "> <div class="row ">
<div class="col-lg-4 col-md-4 col-sm-4" style="padding-left: 17px;"> <div class="col-lg-4 col-md-4 col-sm-4" style="padding-left: 17px;">

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('inventory'), '', inventory_path %>
<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 :inventory %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), inventory_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">

View File

@@ -79,7 +79,7 @@
</button> </button>
<div class="card-block"> <div class="card-block">
<div class="card-text" id="order-detail-slimscroll" data-height="140"> <div class="card-text" id="order-detail-slimscroll" data-height="420">
<table class="table table-striped summary-items" id="order-items-table" > <table class="table table-striped summary-items" id="order-items-table" >
<thead> <thead>
<tr> <tr>
@@ -96,7 +96,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="card-footer"> <div class="inventory card-footer">
<button type="button" class="btn btn-lg btn-block btn-primary waves-effect m-t-5" id='stock_taking'>Stock Taking <button type="button" class="btn btn-lg btn-block btn-primary waves-effect m-t-5" id='stock_taking'>Stock Taking
</button> </button>
</div> </div>

View File

@@ -37,7 +37,7 @@
</button> </button>
<br> <br>
<div class="card-block"> <div class="card-block">
<div class="card-text" id="order-detail-slimscroll" data-height="140"> <div class="card-text" id="order-detail-slimscroll" data-height="420">
<table class="table table-striped summary-items" id="order-items-table" > <table class="table table-striped summary-items" id="order-items-table" >
<thead> <thead>
<tr> <tr>
@@ -53,7 +53,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="card-footer"> <div class="inventory card-footer">
<button type="button" class="btn btn-lg btn-block btn-primary waves-effect m-t-5" id='finish'>Finish <button type="button" class="btn btn-lg btn-block btn-primary waves-effect m-t-5" id='finish'>Finish
</button> </button>
</div> </div>

View File

@@ -65,6 +65,7 @@
<% end %> <% end %>
<% end %> <% end %>
<% end %> <% end %>
<%= render_breadcrumb %>
<%= yield %> <%= yield %>
</section> </section>
</body> </body>

View File

@@ -63,6 +63,7 @@
data-animate-enter="" data-animate-exit="" data-color-name="<%=color%>" > data-animate-enter="" data-animate-exit="" data-color-name="<%=color%>" >
</p> </p>
<% end %> <% end %>
<%= render_breadcrumb %>
<%= yield %> <%= yield %>
</section> </section>
</body> </body>

View File

@@ -51,7 +51,9 @@
</div> </div>
<% end %> <% end %>
<% end %> <% end %>
<%= render_breadcrumb %>
<%= yield %> <%= yield %>
</section> </section>
</body> </body>

View File

@@ -4,7 +4,7 @@
<% type = request.path_info.include?('quick_service') || request.path_info.include?('food_court')%> <% type = request.path_info.include?('quick_service') || request.path_info.include?('food_court')%>
<% modify_order = request.path_info.include?('modify_order')%> <% modify_order = request.path_info.include?('modify_order')%>
<div class="container-fluid " style="padding:0px 3px 0px 3px;"> <div class="container-fluid " style="padding:0px 3px 0px 3px; overflow-x: hidden; ">
<div id="oqs_loading_wrapper" style="display:none;"> <div id="oqs_loading_wrapper" style="display:none;">
<div id="oqs_loading"></div> <div id="oqs_loading"></div>
</div> </div>
@@ -14,7 +14,7 @@
<input type="hidden" name="exclusive_tax" id="exclusive_tax" value="<%= @exclusive_tax%>"> <input type="hidden" name="exclusive_tax" id="exclusive_tax" value="<%= @exclusive_tax%>">
<input type="hidden" name="link_type" id="link_type" value="<%= @cashier_type %>"> <input type="hidden" name="link_type" id="link_type" value="<%= @cashier_type %>">
<input type="hidden" name="display_type" id="display_type" value="<%= @display_type%>"> <input type="hidden" name="display_type" id="display_type" value="<%= @display_type%>">
<div class="row m-t--20"> <div class="row m-t--5">
<div class="col-lg-2 col-md-2 col-sm-2 hidden" id="menu_data"> <div class="col-lg-2 col-md-2 col-sm-2 hidden" id="menu_data">
<li class="list-menu"> <li class="list-menu">
<a href="javascript:void(0);" class="menu-toggle dropdown-toggle toggled my-toggle " style=""> <a href="javascript:void(0);" class="menu-toggle dropdown-toggle toggled my-toggle " style="">
@@ -243,7 +243,7 @@
</div> </div>
<div class="card-block"> <div class="card-block">
<div class="card-text" id="order-detail-slimscroll" data-height="140"> <div class="card-text" id="order-detail-slimscroll" data-height="420">
<table class="table table-striped summary-items" id="order-items-table" > <table class="table table-striped summary-items" id="order-items-table" >
<thead> <thead>
<tr> <tr>

View File

@@ -1,5 +1,5 @@
<div class="container-fluid"><div class="row"> <div class="container-fluid" style="overflow-y: hidden;"><div class="row">
<!-- Column One --> <!-- Column One -->
<div class="col-lg-6 col-md-6 col-sm-6"> <div class="col-lg-6 col-md-6 col-sm-6">
@@ -198,7 +198,7 @@
<!-- Column One --> <!-- Column One -->
<!-- Column Two --> <!-- Column Two -->
<div class="col-lg-5 col-md-5 col-sm-5"> <div class="col-lg-5 col-md-5 col-sm-5">
<div class="card" > <div class="card" style="height: 100%">
<div class="card-header"> <div class="card-header">
<div><strong id="order-title">SALE DETAILS </strong></div> <div><strong id="order-title">SALE DETAILS </strong></div>
</div> </div>
@@ -218,7 +218,7 @@
</div> </div>
</div> </div>
<div id="order-detail-slimscroll" data-height="200"> <div id="order-detail-slimscroll" data-height="270">
<div class="card-text" style=""> <div class="card-text" style="">
<table class="table table-striped" id="order-items-table"> <table class="table table-striped" id="order-items-table">
<thead> <thead>
@@ -248,7 +248,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="card-footer"> <div class="credit_sale card-footer">
<table class="table" id="order-charges-table" border="0"> <table class="table" id="order-charges-table" border="0">
<tr> <tr>
<td class="charges-name"><strong>Sub Total:</strong></td> <td class="charges-name"><strong>Sub Total:</strong></td>

View File

@@ -196,7 +196,7 @@
<!-- Column Two --> <!-- Column Two -->
<div class="col-lg-5 col-md-5 col-sm-5"> <div class="col-lg-5 col-md-5 col-sm-5">
<div class="card"> <div class="home card">
<% existing_class = "" %><% existing_order = false %> <% existing_class = "" %><% existing_order = false %>
<% if @status_sale == 'sale' <% if @status_sale == 'sale'
unless @order_items.nil? || @order_items.empty?%> unless @order_items.nil? || @order_items.empty?%>
@@ -276,7 +276,7 @@
</div> </div>
</div> </div>
</div> </div>
<div id="order-detail-slimscroll" data-height="<%= @status_sale=="sale" ? 200 : 160%>"> <div id="order-detail-slimscroll" data-height="<%= @status_sale=="sale" ? 270 : 415%>">
<div class="card-text" > <div class="card-text" >
<table class="table table-striped" id="order-items-table"> <table class="table table-striped" id="order-items-table">
<thead> <thead>
@@ -346,7 +346,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="card-footer"> <div class="home card-footer">
<table class="table" id="order-charges-table" border="0"> <table class="table" id="order-charges-table" border="0">
<tr> <tr>
<td class="charges-name"><strong>Sub Total:</strong></td> <td class="charges-name"><strong>Sub Total:</strong></td>
@@ -377,7 +377,7 @@
<% else %> <% else %>
<input type="hidden" name="" id="check_tax" value=""> <input type="hidden" name="" id="check_tax" value="">
No Tax No Tax
<% end %></strong><br> <% end %></strong>
<%if !@webview && @changable_tax %> <%if !@webview && @changable_tax %>
<% if @current_user.role == 'cashier' %> <% if @current_user.role == 'cashier' %>
<button class="btn btn-link waves-effect bg-info access_modal" data-type="change_tax">Change Tax</button> <button class="btn btn-link waves-effect bg-info access_modal" data-type="change_tax">Change Tax</button>

View File

@@ -1,11 +1,11 @@
<div class="container-fluid"> <div class="container-fluid" style= "overflow-y: hidden;">
<div id="loading_wrapper" style="display:none;"> <div id="loading_wrapper" style="display:none;">
<div id="loading"></div> <div id="loading"></div>
</div> </div>
<div class="row clearfix"> <div class="row clearfix">
<div class="col-lg-6 col-md-6 col-sm-6 col-xs-6"> <div class="col-lg-6 col-md-6 col-sm-6 col-xs-6">
<div class="card"> <div class="card" style="height: 100%">
<div class="card-header m-l-5 m-r-5"> <div class="card-header m-l-5 m-r-5">
<div id="order-title"> <div id="order-title">
<div class="row p-l-5 p-r-5"> <div class="row p-l-5 p-r-5">
@@ -49,7 +49,7 @@
</table> </table>
</div> </div>
</div> </div>
<div id="order-detail-slimscroll" data-height="300"> <div id="order-detail-slimscroll" data-height="190">
<!-- <div id="table-details" class="card-text" style="min-height:400px; max-height:400px; overflow-x:scroll"> --> <!-- <div id="table-details" class="card-text" style="min-height:400px; max-height:400px; overflow-x:scroll"> -->
<div id="table-details" class="card-text m-t--10" > <div id="table-details" class="card-text m-t--10" >
<table class="table" id="append-table"> <table class="table" id="append-table">
@@ -77,7 +77,7 @@
<div class="card-footer "> <div class="card-footer ">
<table class="table m-t--10 "> <table class="table m-t--10 ">
<tfooter> <tfooter>
<tr> <tr style="border-top-style: none!important">
<td class="charges-name"><strong>Sub Total</strong></td> <td class="charges-name"><strong>Sub Total</strong></td>
<td class="item-attr"><strong><span id="sub-total"><%=number_format(sub_total, precision: precision.to_i)%></span></strong></td> <td class="item-attr"><strong><span id="sub-total"><%=number_format(sub_total, precision: precision.to_i)%></span></strong></td>
</tr> </tr>
@@ -153,7 +153,7 @@
</div> </div>
<div class="col-lg-5 col-md-5 col-sm-5 col-xs-5"> <div class="col-lg-5 col-md-5 col-sm-5 col-xs-5">
<div class="card"> <div class="card" style="height: 100%">
<div class="card-header"> <div class="card-header">
<div class="row m-l-5 m-r-5"> <div class="row m-l-5 m-r-5">
<div class="col-md-8"><strong class='amount_balance'>Amount Due <% if !@sale_payment.nil? %>( Credit )<% end %></strong></div> <div class="col-md-8"><strong class='amount_balance'>Amount Due <% if !@sale_payment.nil? %>( Credit )<% end %></strong></div>

View File

@@ -90,7 +90,7 @@
<!-- Column Two --> <!-- Column Two -->
<div class="col-lg-5 col-md-5 col-sm-5"> <div class="col-lg-5 col-md-5 col-sm-5">
<div class="card" > <div class="card" style="height: 100%">
<div class="card-header"> <div class="card-header">
<div><strong id="order-title">INVOICE DETAILS </strong>| Table <%= @dining.name rescue "" %></div> <div><strong id="order-title">INVOICE DETAILS </strong>| Table <%= @dining.name rescue "" %></div>
</div> </div>
@@ -131,7 +131,7 @@
</div> </div>
</div> </div>
<div id="order-detail-slimscroll" data-height="160"> <div id="order-detail-slimscroll" data-height="430">
<div class="card-text" style=""> <div class="card-text" style="">
<table class="table table-striped" id="order-items-table"> <table class="table table-striped" id="order-items-table">
<thead> <thead>
@@ -172,7 +172,7 @@
</table> </table>
</div> </div>
</div> </div>
<div class="card-footer"> <div class="pending-order card-footer">
<table class="table" id="order-charges-table" border="0"> <table class="table" id="order-charges-table" border="0">
<% if @status == 'sale' %> <% if @status == 'sale' %>
<tr> <tr>

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t("views.right_panel.header.print_settings"), print_settings_path, print_settings_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="card"> <div class="card">

View File

@@ -1,14 +1,3 @@
<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="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), print_settings_path %>
</span>
</ol>
</div>
<%= render 'form', print_setting: @print_setting %> <%= render 'form', print_setting: @print_setting %>

View File

@@ -1,14 +1,7 @@
<p id="notice"><%= notice %></p> <p id="notice"><%= notice %></p>
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.print_settings"), "", dashboard_path %>
<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.header.print_settings") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix"> <div class="m-b-10 clearfix">

View File

@@ -1,14 +1,3 @@
<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="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), print_settings_path %>
</span>
</ol>
</div>
<%= render 'form', print_setting: @print_setting %> <%= render 'form', print_setting: @print_setting %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.print_settings"), print_settings_path, print_settings_path, t('details') %>
<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="<%= print_settings_path %>"><%= t("views.right_panel.header.print_settings") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), print_settings_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="card"> <div class="card">

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.commission_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<!-- <div class="container"> --> <!-- <div class="container"> -->

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.credit_payment_report"), "", dashboard_path %>
<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>
<!-- <div class="container"> --> <!-- <div class="container"> -->
<%= render :partial=>'shift_sale_report_filter', <%= render :partial=>'shift_sale_report_filter',
:locals=>{ :period_type => true, :filter_for_credit => true, :shift_name => true, :report_path =>reports_credit_payment_index_path} %> :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="row">
<div class="col-md-12 col-lg-12 col-sm-12 "> <div class="col-md-12 col-lg-12 col-sm-12 ">
<%= render :partial=>'shift_sale_report_filter', <%= render :partial=>'shift_sale_report_filter',

View File

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

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.induty_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter', <%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.order_reservation_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add 'Payment Method Report', "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.receipt_no_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@@ -1,13 +1,6 @@
<div class="container-fluid"> <div class="container-fluid">
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.receipt_no_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter', <%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.sale_item_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<%= render :partial=>'shift_sale_report_filter', <%= render :partial=>'shift_sale_report_filter',

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.shift_sale_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.staff_meal_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<%= render :partial=>'staff_meal_report_filter', <%= render :partial=>'staff_meal_report_filter',

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add 'Stock Check Report', "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-12 col-lg-12"> <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12">

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.void_sale_report"), "", dashboard_path %>
<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>
<div class="row"> <div class="row">
<div class="col-md-12"> <div class="col-md-12">
<!-- <div class="container"> --> <!-- <div class="container"> -->

View File

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

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.account"), '', dashboard_path %>
<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.account") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix"> <div class="m-b-10 clearfix">

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t("views.right_panel.header.cashier_terminal"), settings_cashier_terminals_path, settings_cashier_terminals_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,11 +1 @@
<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="<%= settings_cashier_terminals_path %>"><%= t("views.right_panel.header.cashier_terminal") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_cashier_terminals_path %>
</span>
</ol>
</div>
<%= render 'form', settings_cashier_terminal: @settings_cashier_terminal %> <%= render 'form', settings_cashier_terminal: @settings_cashier_terminal %>

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.cashier_terminal"), "", dashboard_path %>
<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.header.cashier_terminal") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix"> <div class="m-b-10 clearfix">

View File

@@ -1,11 +1 @@
<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="<%= settings_cashier_terminals_path %>"><%= t("views.right_panel.header.cashier_terminal") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_cashier_terminals_path %>
</span>
</ol>
</div>
<%= render 'form', settings_cashier_terminal: @settings_cashier_terminal %> <%= render 'form', settings_cashier_terminal: @settings_cashier_terminal %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.cashier_terminal"), settings_cashier_terminals_path, settings_cashier_terminals_path, t('details') %>
<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="<%= settings_cashier_terminals_path %>"><%= t("views.right_panel.header.cashier_terminal") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_cashier_terminals_path %>
</span>
</ol>
</div>
<br> <br>
<div class="row"> <div class="row">

View File

@@ -1,3 +1,5 @@
<% breadcrumb_add t('commissioners'), settings_commissioners_path, settings_commissioners_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,13 +1 @@
<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="<%= settings_commissioners_path %>"><%= t("en.commissioners") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissioners_path %>
</span>
</ol>
</div>
<%= render 'form', commissioner: @commissioner %> <%= render 'form', commissioner: @commissioner %>

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t('commissioners'), '', dashboard_path %>
<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("en.commissioners") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix"> <div class="m-b-10 clearfix">

View File

@@ -1,13 +1,2 @@
<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="<%= settings_commissioners_path %>"><%= t("en.commissioners") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissioners_path %>
</span>
</ol>
</div>
<%= render 'form', commissioner: @commissioner %> <%= render 'form', commissioner: @commissioner %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('commissioners'), settings_commissioners_path, settings_commissioners_path, t("details") %>
<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="<%= settings_commissioners_path %>"><%= t("en.commissioners") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissioners_path %>
</span>
</ol>
</div>
<!-- Nav tabs --> <!-- Nav tabs -->
<ul class="nav nav-tabs" role="tablist"> <ul class="nav nav-tabs" role="tablist">

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t('commissions'), settings_commissions_path, settings_commissions_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,11 +1 @@
<div class="page-header"> <%= render 'form', commission: @commission %>
<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="<%= settings_commissions_path %>"><%= t("en.commissions") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissions_path %>
</span>
</ol>
</div>
<%= render 'form', commission: @commission %>

View File

@@ -1,12 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('commissions'), '', dashboard_path %>
<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("en.commissions") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

View File

@@ -1,11 +1 @@
<div class="page-header"> <%= render 'form', commission: @commission %>
<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="<%= settings_commissions_path %>"><%= t("en.commissions") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissions_path %>
</span>
</ol>
</div>
<%= render 'form', commission: @commission %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('commissions'), settings_commissions_path, settings_commissions_path, t('details') %>
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= settings_commissions_path %>"><%= t("views.right_panel.button.home") %></a></li>
<li class="breadcrumb-item"><a href="<%= settings_commissions_path %>"><%= t("en.commissions") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_commissions_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t("views.right_panel.detail.employee"), settings_employees_path, settings_employees_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,12 +1 @@
<%= render 'form', employee: @employee %>
<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="<%= settings_employees_path %>"><%= t("views.right_panel.detail.employees") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_employees_path %>
</span>
</ol>
</div>
<%= render 'form', employee: @employee %>

View File

@@ -1,13 +1,5 @@
<% breadcrumb_add t("views.right_panel.detail.employee"), "", 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.employee") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">
<div class="m-b-10 clearfix"> <div class="m-b-10 clearfix">

View File

@@ -1,12 +1 @@
<%= render 'form', employee: @employee %>
<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="<%= settings_employees_path %>"><%= t("views.right_panel.detail.employees") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_employees_path %>
</span>
</ol>
</div>
<%= render 'form', employee: @employee %>

View File

@@ -1,22 +1,4 @@
<!-- <div class="page-header"> <% breadcrumb_add t("views.right_panel.detail.employee"), settings_employees_path, settings_employees_path, t('details') %>
<ul class="breadcrumb">
<li><a href="<%= %>">Home</a></li>
<li>Employee</li>
<span style="float: right">
<%= link_to t("views.btn.new"),new_settings_employee_path,:class => 'btn btn-primary btn-sm' %>
</span>
</ul>
</div> -->
<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="<%= settings_employees_path %>"><%= t("views.right_panel.detail.employee") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_employees_path %>
</span>
</ol>
</div>
<br> <br>

View File

@@ -1,14 +1,4 @@
<% breadcrumb_add t("views.right_panel.detail.item_set"), '', 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.item_set") %></li>
<span class="float-right">
<%= link_to t("views.btn.back"), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">

View File

@@ -1,4 +1,4 @@
<% breadcrumb_add 'LookUp', settings_lookups_path, settings_lookups_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">

View File

@@ -1,12 +1 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_lookups_path %>">Lookup</a></li>
<li class="breadcrumb-item active">Edit</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_lookups_path %>
</span>
</ol>
</div>
<%= render 'form', settings_lookup: @settings_lookup %> <%= render 'form', settings_lookup: @settings_lookup %>

View File

@@ -1,13 +1,4 @@
<% breadcrumb_add 'LookUp', '', dashboard_path %>
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item active">LookUp</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

View File

@@ -1,12 +1 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_lookups_path %>">Lookup</a></li>
<li class="breadcrumb-item active">New</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_lookups_path %>
</span>
</ol>
</div>
<%= render 'form', settings_lookup: @settings_lookup %> <%= render 'form', settings_lookup: @settings_lookup %>

View File

@@ -1,3 +1,5 @@
<% breadcrumb_add t("views.right_panel.header.menu_categories"), settings_menu_categories_path, settings_menu_categories_path, t("views.btn.#{action_name}") %>
<br>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,12 +1 @@
<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="<%= settings_menu_categories_path %>"><%= t("views.right_panel.detail.menu_categories") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_categories_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_menu_category: @settings_menu_category %> <%= render 'form', settings_menu_category: @settings_menu_category %>

View File

@@ -1,13 +1 @@
<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="<%= settings_menu_categories_path %>"><%= t("views.right_panel.detail.menu_categories") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_categories_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_menu_category: @settings_menu_category %> <%= render 'form', settings_menu_category: @settings_menu_category %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.menu_category"), settings_menu_categories_path, settings_menu_categories_path, t('details') %>
<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="<%= settings_menu_categories_path %>"><%= t("views.right_panel.detail.menu_category") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_categories_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">

View File

@@ -1,12 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.menu_item_attributes"), '', dashboard_path %>
<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.header.menu_item_attributes") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
<div class="card"> <div class="card">

View File

@@ -1,3 +1,6 @@
<% breadcrumb_add t("views.right_panel.header.menu_item_instances"), settings_menu_category_simple_menu_item_path(@category, @item), settings_menu_category_simple_menu_item_path(@category, @item),
t("views.btn.#{action_name}") %>
<br>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,15 +1,3 @@
<!-- <h1>Editing Settings Menu Item</h1>-->
<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="<%= settings_menu_category_simple_menu_item_path(@category,@item) %>"><%= t("views.right_panel.header.menu_item_instances") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_category_simple_menu_item_path(@category,@item) %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_simple_menu_item_menu_item_instances: @settings_menu_item_instances, item_sets: @item_sets %> <%= render 'form', settings_simple_menu_item_menu_item_instances: @settings_menu_item_instances, item_sets: @item_sets %>

View File

@@ -1,12 +1 @@
<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="<%= settings_menu_category_simple_menu_item_path(@category,@item) %>"><%= t("views.right_panel.header.menu_item_instances") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_category_simple_menu_item_path(@category,@item) %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_simple_menu_item_menu_item_instances: @settings_menu_item_instances, item_sets: @item_sets %> <%= render 'form', settings_simple_menu_item_menu_item_instances: @settings_menu_item_instances, item_sets: @item_sets %>

View File

@@ -1,26 +1,6 @@
<% breadcrumb_add t("views.right_panel.header.menu_item"),settings_menu_category_simple_menu_item_path(@category,@item),
<!-- <div class="page-header"> settings_menu_category_simple_menu_item_path(@category,@item),
<ul class="breadcrumb"> t('details') %>
<li><a href="<%= root_path %>">Home</a></li>
<li><a href="<%= settings_menu_category_simple_menu_item_path(@category,@item) %>">Menu Item</a></li>
<li>Menu Item Instances</li>
<span style="float: right">
</span>
</ul>
</div> -->
<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="<%= settings_menu_category_simple_menu_item_path(@category,@item) %>"><%= t("views.right_panel.header.menu_item") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_category_simple_menu_item_path(@category,@item) %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t("views.right_panel.header.menu_item_options"), settings_menu_item_options_path, settings_menu_item_options_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,11 +1 @@
<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="<%= settings_menu_item_options_path %>"><%= t("views.right_panel.header.menu_item_options") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_item_options_path %>
</span>
</ol>
</div>
<%= render 'form', settings_menu_item_option: @settings_menu_item_option %> <%= render 'form', settings_menu_item_option: @settings_menu_item_option %>

View File

@@ -1,12 +1,4 @@
<div class="page-header"> <% breadcrumb_add t("views.right_panel.header.menu_item_options"), '', dashboard_path %>
<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.header.menu_item_options") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">

View File

@@ -1,11 +1 @@
<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="<%= settings_menu_item_options_path %>"><%= t("views.right_panel.header.menu_item_options") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_item_options_path %>
</span>
</ol>
</div>
<%= render 'form', settings_menu_item_option: @settings_menu_item_option %> <%= render 'form', settings_menu_item_option: @settings_menu_item_option %>

View File

@@ -1,15 +1,4 @@
<% breadcrumb_add t("views.right_panel.header.menu_item_options"), settings_menu_item_options_path, settings_menu_item_options_path, t('details') %>
<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="<%= settings_menu_item_options_path %>"><%= t("views.right_panel.header.menu_item_options") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to 'Back', settings_menu_item_options_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,3 +1,5 @@
<% breadcrumb_add t('menus'), settings_menus_path, settings_menus_path, t("views.btn.#{action_name}") %>
<br>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">
<div class="card"> <div class="card">

View File

@@ -1,23 +1 @@
<!-- <div class="span12">
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li><a href="<%= settings_menus_path %>">Menus</a></li>
<li>Edit</li>
</ul>
</div>
<%= render 'form', settings_menu: @settings_menu %>
</div> -->
<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="<%= settings_menus_path %>"><%= t("en.menus") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menus_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_menu: @settings_menu %> <%= render 'form', settings_menu: @settings_menu %>

View File

@@ -1,12 +1,5 @@
<div class="page-header"> <% breadcrumb_add t('menus'), "", dashboard_path %>
<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("en.menus") %></li>
<span class="float-right">
<%= link_to 'Back', dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
<br><br> <br><br>

View File

@@ -1,24 +1 @@
<!--
<div class="span12">
<div class="page-header">
<ul class="breadcrumb">
<li><a href="<%= root_path %>">Home</a></li>
<li><a href="<%= settings_menus_path %>">Menus</a></li>
<li>New</li>
</ul>
</div>
<%= render 'form', settings_menu: @settings_menu %>
</div>
-->
<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="<%= settings_menus_path %>"><%= t("en.menus") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.new") %></li>
<span class="float-right">
<%= link_to 'Back', settings_menus_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_menu: @settings_menu %> <%= render 'form', settings_menu: @settings_menu %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('menus'), settings_menus_path, settings_menus_path, t('details') %>
<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="<%= settings_menus_path %>"><%= t("en.menus") %></a></li>
<li class="breadcrumb-item active"><%= t :details %></li>
<span class="float-right">
<%= link_to 'Back', settings_menus_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-2 col-lg-2"> <div class="col-xs-12 col-sm-12 col-md-2 col-lg-2">
<div class="card"> <div class="card">

View File

@@ -4,6 +4,8 @@ div.form-inputs span{
} }
</style> </style>
<% breadcrumb_add 'Order Queue Stations', settings_order_queue_stations_path, settings_order_queue_stations_path, t("views.btn.#{action_name}") %>
<br>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">

View File

@@ -1,12 +1 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_order_queue_stations_path %>">Order Queue Stations</a></li>
<li class="breadcrumb-item active">Edit</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_order_queue_stations_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_order_queue_station: @settings_order_queue_station %> <%= render 'form', settings_order_queue_station: @settings_order_queue_station %>

View File

@@ -1,15 +1,4 @@
<% breadcrumb_add t("views.right_panel.header.order_queue_stations"), "", 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.header.order_queue_stations") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

View File

@@ -1,12 +1 @@
<div class="page-header">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="<%= dashboard_path %>">Home</a></li>
<li class="breadcrumb-item"><a href="<%= settings_order_queue_stations_path %>">Order Queue Stations</a></li>
<li class="breadcrumb-item active">New</li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), settings_order_queue_stations_path %>
</span>
</ol>
</div>
<br>
<%= render 'form', settings_order_queue_station: @settings_order_queue_station %> <%= render 'form', settings_order_queue_station: @settings_order_queue_station %>

View File

@@ -1,12 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('out_of_stock'), "", dashboard_path %>
<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 :out_of_stock %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row "> <div class="row ">
<div class="col-lg-4 col-md-4 col-sm-4" style="padding-left: 17px;"> <div class="col-lg-4 col-md-4 col-sm-4" style="padding-left: 17px;">

View File

@@ -1,3 +1,4 @@
<% breadcrumb_add t("payment_methods"), settings_payment_method_settings_path, settings_payment_method_settings_path, t("views.btn.#{action_name}") %>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-8 col-lg-8"> <div class="col-xs-12 col-sm-12 col-md-8 col-lg-8">

View File

@@ -1,12 +1 @@
<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="<%= settings_payment_method_settings_path %>"><%= t("en.payment_methods") %></a></li>
<li class="breadcrumb-item active"><%= t("views.btn.edit") %></li>
<span class="float-right">
<%= link_to t('.ack', :default => t("views.back")), settings_payment_method_settings_path %>
</span>
</ol>
</div>
<%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %> <%= render 'form', settings_payment_method_setting: @settings_payment_method_setting %>

View File

@@ -1,13 +1,4 @@
<div class="page-header"> <% breadcrumb_add t('payment_methods'), "", dashboard_path %>
<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("en.payment_methods") %></li>
<span class="float-right">
<%= link_to t('.back', :default => t("views.btn.back")), dashboard_path %>
</span>
</ol>
</div>
<div class="row"> <div class="row">
<div class="col-xs-12 col-sm-12 col-md-9 col-lg-9"> <div class="col-xs-12 col-sm-12 col-md-9 col-lg-9">

Some files were not shown because too many files have changed in this diff Show More