add print at receipt no report

This commit is contained in:
NyanLinHtut
2019-10-02 09:24:30 +06:30
parent 94a1f5b2b5
commit a61c4a1932
7 changed files with 148 additions and 14 deletions

View File

@@ -241,9 +241,9 @@ class Sale < ApplicationRecord
# @sale_data.save
# Promotion Activation
Promotion.promo_activate(@sale)
Promotion.promo_activate(@sale_data)
@status = true
return @status, @sale
return @status, @sale_data
else
@status = false
@message = "No Current Open Shift for This Employee"