api discount and change tax
This commit is contained in:
@@ -102,7 +102,7 @@ class Origami::DiscountsController < BaseOrigamiController
|
||||
|
||||
sale_audit = SaleAudit.record_audit_discount(sale.sale_id,sale.cashier_name, action_by,remark,"OVERALLDISCOUNT" )
|
||||
end
|
||||
sale.compute_by_sale_items(overall_discount.to_f, nil,order_source)
|
||||
sale.compute_by_sale_items(overall_discount.to_f, nil, order_source)
|
||||
if !table.nil?
|
||||
result = {:status=> "Success", :table_id => table_id, :table_type => table.type }
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user