fixed report print
This commit is contained in:
@@ -52,14 +52,11 @@ class Reports::ShiftsaleController < BaseReportController
|
||||
shift_id = params[:id]
|
||||
@shift = ShiftSale.find_by_id(shift_id)
|
||||
shift_obj = ShiftSale.where('id =?',shift_id)
|
||||
puts "shift obj!!!!!"
|
||||
puts shift_obj.to_json
|
||||
|
||||
|
||||
if ENV["SERVER_MODE"] != "cloud" #no print in cloud server
|
||||
|
||||
close_cashier_pdf = Lookup.collection_of("print_settings")
|
||||
puts "close !!!!"
|
||||
puts close_cashier_pdf
|
||||
|
||||
unique_code = "CloseCashierPdf"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user