sales and orders methods updates

This commit is contained in:
Min Zeya Phyo
2017-04-11 13:51:09 +08:00
parent 225ebdb7ef
commit 5b1bb6f6cd
10 changed files with 150 additions and 9 deletions

View File

@@ -25,7 +25,7 @@ class OrderItem < ApplicationRecord
oitem.set_order_items = item["sub_order_items"]
oitem.item_order_by = item_order_by
end
logger.info orderitem.to_yml
logger.debug orderitem.to_yml
orderitem.save!