update report detail ,close_cashire_pdf and view reports
This commit is contained in:
@@ -2,9 +2,11 @@ class Reports::DailysaleController < BaseReportController
|
||||
authorize_resource :class => false
|
||||
|
||||
def index
|
||||
from, to ,report_type = get_date_range_from_params
|
||||
from, to = get_date_range_from_params
|
||||
@sale_data = Sale.daily_sales_list(from,to)
|
||||
@tax = SaleTax.get_tax(from,to)
|
||||
@from = from
|
||||
@to = to
|
||||
|
||||
respond_to do |format|
|
||||
format.html
|
||||
|
||||
Reference in New Issue
Block a user