change split bill
This commit is contained in:
@@ -247,8 +247,8 @@ $('#back').on('click',function(){
|
||||
|
||||
function warnBeforeRedirect(linkURL) {
|
||||
swal({
|
||||
title: "Oops",
|
||||
text: "Are you sure you want to Logout ?",
|
||||
title: "Alert!",
|
||||
text: "Are you sure you want to close cashier?",
|
||||
type: "warning",
|
||||
showCancelButton: true
|
||||
}, function() {
|
||||
|
||||
@@ -26,12 +26,11 @@
|
||||
<div class="row m-l-5">
|
||||
<div class="col-lg-3 col-md-3 col-sm-3">
|
||||
<ul class="nav nav-tabs tabs-left sideways">
|
||||
<li class="active">
|
||||
<a href="#all_order" data-toggle="tab">All</a>
|
||||
</li>
|
||||
<% @orders.each.with_index(0) do |order, order_index| %>
|
||||
<% active_class = "" %>
|
||||
<% if order_index == 0 %>
|
||||
<% active_class = "active" %>
|
||||
<% end %>
|
||||
<li class="order-row <%= active_class %>">
|
||||
<li class="order-row">
|
||||
<a href="#<%= order.order_id %>" data-toggle="tab"><%= order.order_id %></a>
|
||||
</li>
|
||||
<% end %>
|
||||
|
||||
Reference in New Issue
Block a user