update from and to date index.html of all report

This commit is contained in:
Aung Myo
2017-12-07 15:51:40 +06:30
parent 1645f75fa3
commit d9fd19265b
7 changed files with 65 additions and 43 deletions

View File

@@ -41,8 +41,7 @@ authorize_resource :class => false
def show
from, to = get_date_range_from_params
puts from
puts to
@sale_data = Sale.get_by_shift_sale(from,to,Sale::SALE_STATUS_COMPLETED)
date_arr = Array.new