update comertial tax and service in sale model

This commit is contained in:
Aung Myo
2017-07-24 19:25:31 +06:30
parent a7cbea5dbb
commit 9c4e5bbdc8
2 changed files with 24 additions and 19 deletions

View File

@@ -19,7 +19,7 @@ authorize_resource :class => false
end
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,from,to,payment_type)
@sale_taxes = Sale.get_separate_tax(@shift_sale_range,@shift,from,to,payment_type)
@from = from
@to = to