Merge branch 'master' of bitbucket.org:code2lab/sxrestaurant into staging
This commit is contained in:
@@ -24,6 +24,9 @@ class Origami::RequestBillsController < ApplicationController
|
|||||||
# Bind shift sale id to sale
|
# Bind shift sale id to sale
|
||||||
@sale_data.shift_sale_id = shift.id
|
@sale_data.shift_sale_id = shift.id
|
||||||
@sale_data.save
|
@sale_data.save
|
||||||
|
|
||||||
|
# Promotion Activation
|
||||||
|
Promotion.promo_activate(@sale)
|
||||||
else
|
else
|
||||||
@status = false
|
@status = false
|
||||||
@error_message = "No Current Open Shift for This Employee"
|
@error_message = "No Current Open Shift for This Employee"
|
||||||
|
|||||||
Reference in New Issue
Block a user