daily sale report fixed
This commit is contained in:
@@ -4,7 +4,7 @@ class Reports::DailysaleController < BaseReportController
|
|||||||
def index
|
def index
|
||||||
from, to = get_date_range_from_params
|
from, to = get_date_range_from_params
|
||||||
@sale_data = Sale.daily_sales_list(from,to)
|
@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
|
@from = from
|
||||||
@to = to
|
@to = to
|
||||||
@payment_methods = PaymentMethodSetting.where("is_active='1'").pluck("payment_method")
|
@payment_methods = PaymentMethodSetting.where("is_active='1'").pluck("payment_method")
|
||||||
|
|||||||
Reference in New Issue
Block a user