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

@@ -20,7 +20,11 @@ authorize_resource :class => false
payment_type = params[:payment_type]
@sale_data = Sale.get_shift_sales_by_receipt_no(@shift_sale_range,@shift,from,to,payment_type)
@sale_taxes = Sale.get_separate_tax(@shift_sale_range,@shift,from,to,payment_type)
@tax_profiles = TaxProfile.order('order_by asc')
puts @sale_taxes.to_json
puts "sssssss"
puts @tax_profiles.to_json
@from = from
@to = to