daily sale report fixed

This commit is contained in:
yarzar_code
2020-09-10 13:02:40 +06:30
parent c002fc7e7b
commit 64bb022acd

View File

@@ -4,7 +4,7 @@ class Reports::DailysaleController < BaseReportController
def index
from, to = get_date_range_from_params
@sale_data = Sale.daily_sales_list(from,to)
@tax = SaleTax.get_tax(from,to)
@tax_profiles = TaxProfile.group(:name).order(:order_by).pluck(:name)
@from = from
@to = to
@payment_methods = PaymentMethodSetting.where("is_active='1'").pluck("payment_method")