customer name filter
This commit is contained in:
@@ -5,6 +5,8 @@ authorize_resource :class => false
|
||||
|
||||
from, to = get_date_range_from_params
|
||||
|
||||
customer_filter = params[:customer]
|
||||
|
||||
@shift_sale_range = ''
|
||||
|
||||
@shift = ''
|
||||
@@ -24,7 +26,7 @@ authorize_resource :class => false
|
||||
end
|
||||
|
||||
payment_type = params[:payment_type]
|
||||
@sale_data = Sale.get_shift_sales_by_receipt_no_detail(@shift_sale_range,@shift,from,to,payment_type)
|
||||
@sale_data = Sale.get_shift_sales_by_receipt_no_detail(@shift_sale_range, @shift, from, to, payment_type, customer_filter)
|
||||
|
||||
@from = from
|
||||
@to = to
|
||||
|
||||
Reference in New Issue
Block a user