Merge branch 'adminbsb_material_ui' of bitbucket.org:code2lab/sxrestaurant
This commit is contained in:
@@ -186,7 +186,7 @@
|
|||||||
<div class="card-title row customer_detail p-l-5 p-r-5" >
|
<div class="card-title row customer_detail p-l-5 p-r-5" >
|
||||||
<div class="col-lg-6 col-md-6 col-sm-6">
|
<div class="col-lg-6 col-md-6 col-sm-6">
|
||||||
<% if @status_sale == 'sale' %>
|
<% if @status_sale == 'sale' %>
|
||||||
<p class="hidden customer-id"><%= @obj_sale_sale.customer_id rescue '' %></p>
|
<p class="hidden customer-id"><%= @obj_sale.customer_id rescue '' %></p>
|
||||||
Customer : <%= @obj_sale.customer.name rescue '-' %>
|
Customer : <%= @obj_sale.customer.name rescue '-' %>
|
||||||
<%else%>
|
<%else%>
|
||||||
<p class="hidden customer-id"><%= @obj_order.customer_id rescue "-" %></p>
|
<p class="hidden customer-id"><%= @obj_order.customer_id rescue "-" %></p>
|
||||||
@@ -361,7 +361,8 @@
|
|||||||
<!-- <button type="button" id="first_bill" class="btn bg-blue btn-block" disabled>First Bill</button> -->
|
<!-- <button type="button" id="first_bill" class="btn bg-blue btn-block" disabled>First Bill</button> -->
|
||||||
<!-- <button type="button" id="pay" class="btn bg-blue btn-block" disabled>Pay</button> -->
|
<!-- <button type="button" id="pay" class="btn bg-blue btn-block" disabled>Pay</button> -->
|
||||||
<!-- <button type="button" class="btn bg-blue btn-block" disabled=""> Void </button> -->
|
<!-- <button type="button" class="btn bg-blue btn-block" disabled=""> Void </button> -->
|
||||||
<% else %>
|
<% end %>
|
||||||
|
<% if @status_sale == 'sale' %>
|
||||||
<!-- <button type="button" class="btn bg-blue btn-block" disabled>Add Order</button> -->
|
<!-- <button type="button" class="btn bg-blue btn-block" disabled>Add Order</button> -->
|
||||||
<button type="button" id="customer" class="btn bg-blue btn-block" >Customer</button>
|
<button type="button" id="customer" class="btn bg-blue btn-block" >Customer</button>
|
||||||
<button type="button" class="btn bg-blue btn-block" id='edit'>Edit</button>
|
<button type="button" class="btn bg-blue btn-block" id='edit'>Edit</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user