change some func: for order rervation

This commit is contained in:
phyusin
2018-08-21 10:37:51 +06:30
parent 49ace265dc
commit d49bc3be2e
6 changed files with 6 additions and 6 deletions

View File

@@ -6,7 +6,7 @@ class Reports::OrderReservationController < BaseReportController
from, to = get_date_range_from_params
@shift_sale_range = Sale.get_by_shift_sale(from,to,Sale::SALE_STATUS_COMPLETED)
@shift_sale_range = Sale.get_by_shift_sale_by_item(from,to,Sale::SALE_STATUS_COMPLETED)
@shift = ''
if params[:shift_name].to_i != 0