Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant

This commit is contained in:
Yan
2017-06-26 17:10:25 +06:30
3 changed files with 42 additions and 14 deletions

View File

@@ -51,6 +51,8 @@ class Origami::SaleEditController < BaseOrigamiController
end
def apply_void
sale_id = params[:sale_id]
saleObj = Sale.find(sale_id)
saleObj.compute_without_void
end
end