promotion

This commit is contained in:
Nweni
2017-08-23 17:37:13 +06:30
parent 67cf713b90
commit de769f3faf
2 changed files with 74 additions and 55 deletions

View File

@@ -24,7 +24,7 @@ class Api::BillController < Api::ApiController
@sale = Sale.new
@status, @sale_id = @sale.generate_invoice_from_order(params[:order_id], current_login_employee, get_cashier)
end
# Promotion.promo_activate(@sale)
Promotion.promo_activate(@sale)
else
@status = false
@error_message = "No Current Open Shift"