not to show price 0 and 10

This commit is contained in:
Yan
2017-06-27 10:15:22 +06:30
parent 1023f4348a
commit e09dbb095c
6 changed files with 74 additions and 63 deletions

View File

@@ -38,7 +38,9 @@ class OrderQueueStation < ApplicationRecord
# else
AssignedOrderItem.assigned_order_item(order, order_item.item_code, oqs)
oqs_order_items.push(order_item)
if (order_item.price != 10 || order_item.price != 0)
oqs_order_items.push(order_item)
end
# end
end
end