check required for oqs and cashier terminal

This commit is contained in:
phyusin
2017-10-27 12:02:38 +06:30
parent 8f5d24a2e3
commit 0653bfab53
3 changed files with 6 additions and 1 deletions

View File

@@ -858,7 +858,6 @@ end
def self.hourly_sales(today)
query= Sale.select("grand_total")
.where('payment_status="paid" and sale_status = "completed" and DATE_FORMAT(receipt_date,"%Y-%m-%d") = ?',today)
.group("date_format(receipt_date, '%I %p')")
end
def self.employee_sales(today)