add promotion activation in cashier req bill
This commit is contained in:
@@ -24,6 +24,9 @@ class Origami::RequestBillsController < BaseOrigamiController
|
||||
# Bind shift sale id to sale
|
||||
@sale_data.shift_sale_id = shift.id
|
||||
@sale_data.save
|
||||
|
||||
# Promotion Activation
|
||||
Promotion.promo_activate(@sale)
|
||||
else
|
||||
@status = false
|
||||
@error_message = "No Current Open Shift for This Employee"
|
||||
|
||||
Reference in New Issue
Block a user