update job

This commit is contained in:
Aung Myo
2018-02-01 11:04:56 +06:30
parent 2f024e8691
commit d5c4f834a0
2 changed files with 2 additions and 2 deletions

View File

@@ -46,8 +46,7 @@ class Api::BillController < Api::ApiController
Promotion.promo_activate(@sale)
#BillBroadcastJob.perform_later(table)
ActionCable.server.broadcast "bill_channel",table: table
BillBroadcastJob.perform_later(table)
else
@status = false
@error_message = "No Current Open Shift"

View File

@@ -157,4 +157,5 @@ class DiningFacility < ApplicationRecord
#Send to background job for processing
CheckInBookingJob.perform_later(table)
end
end