crm customer chagnes

This commit is contained in:
phyusin
2018-10-02 11:57:07 +06:30
parent 048126f9dd
commit 4a2f7b0e4b
12 changed files with 72 additions and 66 deletions

View File

@@ -734,7 +734,7 @@ class Sale < ApplicationRecord
where("receipt_no LIKE ? OR cashier_name LIKE ? OR sale_status ='#{filter}' and shift_sale_id = ?","%#{filter}%","%#{filter}%",shift.id)
end
end
.order("sale_id DESC")
end
def self.search_credit_sales(customer,filter,from,to,order_source="")