daily & hourly report
This commit is contained in:
@@ -33,8 +33,7 @@ class BaseReportController < ActionController::Base
|
||||
if params[:from].present? && params[:to].present?
|
||||
from = Time.parse(params[:from])
|
||||
to = Time.parse(params[:to])
|
||||
puts "from - to<<<<<<<<<<<<<<<<<<<<"
|
||||
puts "#{from},#{to}"
|
||||
|
||||
else
|
||||
case period.to_i
|
||||
when PERIOD["today"]
|
||||
|
||||
Reference in New Issue
Block a user