update reports

This commit is contained in:
Aung Myo
2017-11-25 16:32:30 +06:30
parent b611fcde97
commit 2ebecc2fb2
7 changed files with 22 additions and 15 deletions

View File

@@ -16,8 +16,7 @@ class Reports::SaleitemController < BaseReportController
end
end
@sale_data, @discount_data , @cash_data , @card_data , @credit_data , @foc_data , @grand_total , @change_amount = Sale.get_by_shift_items(shift_sale_range,shift, from, to, Sale::SALE_STATUS_COMPLETED)
puts @sale_data.to_json
puts "SSSSSSSSSSS"
@account_cate_count = Hash.new {|hash, key| hash[key] = 0}