change customer UI
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user