origami numpad ui fix and promotion fix
This commit is contained in:
@@ -218,7 +218,7 @@ class Promotion < ApplicationRecord
|
||||
else
|
||||
foc_qty = find_second_item_qty(sale_id, promo_product.item_code)
|
||||
# give total qty is 1
|
||||
foc_qty = (foc_qty - foc_qty) + 1
|
||||
#foc_qty = (foc_qty - foc_qty) + 1
|
||||
|
||||
item = OrderItem.find_by_item_instance_code(promo_product.item_code)
|
||||
# total = item.price * foc_qty
|
||||
|
||||
Reference in New Issue
Block a user