update report detail ,close_cashire_pdf and view reports
This commit is contained in:
@@ -29,6 +29,8 @@ class Reports::SaleitemController < BaseReportController
|
||||
@totalByAccount = Hash.new {|hash, key| hash[key] = 0}
|
||||
@sale_data.each {|acc| @totalByAccount[acc.account_id] += acc.grand_total}
|
||||
|
||||
@from = from
|
||||
@to = to
|
||||
|
||||
if shift.present?
|
||||
shift.each do |sh|
|
||||
|
||||
Reference in New Issue
Block a user