change customer UI

This commit is contained in:
phyusin
2017-12-12 10:51:58 +06:30
parent e727b8b22e
commit 59fbe1ed17
3 changed files with 146 additions and 137 deletions

View File

@@ -232,7 +232,7 @@
end
if @status_order == 'order' && @status_sale != 'sale'
unless @order_items.nil?
unless @order_items.nil? || @order_items.empty?
count = 0
@order_items.each do |order_item |
count += 1
@@ -291,7 +291,7 @@
<br>
<%
if @status_sale == 'sale'
unless @order_items.nil?
unless @order_items.nil? || @order_items.empty?
%>
Pending New Order
<table class="table table-striped">