update search data in transaction

This commit is contained in:
Aung Myo
2017-11-21 18:29:41 +06:30
parent 01bf7caeb5
commit 3041d6a368
11 changed files with 224 additions and 219 deletions

View File

@@ -22,6 +22,9 @@ class Transactions::SalesController < ApplicationController
@sales = 0
end
end
@receipt_no = receipt_no
@from = from
@to = to
# if receipt_no.nil? && search_date.nil?
# @sales = Sale.where("NOT sale_status = 'void' " ).order("sale_id desc").limit(500)