udate add order controller

This commit is contained in:
Aung Myo
2017-12-11 10:39:19 +06:30
parent d80c7840cc
commit 0dce6e4329
2 changed files with 1 additions and 2 deletions

View File

@@ -29,8 +29,6 @@ class Origami::DiscountsController < BaseOrigamiController
# sale.grand_total = (sub_total.to_f - overall_discount.to_f) + sale.total_tax;
# sale.save
if discount_items.length > 0
puts discount_items.to_json
puts "dddddddddddd"
#save sale item for discount
discount_items.each do |di|