This commit is contained in:
Nicolas Bally 2020-06-28 16:08:50 +02:00
parent e003cf49c1
commit 01ebf0ad17

View File

@ -27,7 +27,7 @@
.kpi .kpi
.number .number
=PCustomer.where(:test_user => false).where("created_at >= ? and created_at < ?",(Date.today-1.day).beginning_of_day, Date.today.beginning_of_day).count =PCustomer.where(:test_user => false).where("created_at >= ? and created_at < ?",(Date.today.beginning_of_day-1.day), Date.today.beginning_of_day).count
.label .label
Inscriptions Inscriptions
@ -38,7 +38,7 @@
.kpi .kpi
.number .number
=PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today -1.week).beginning_of_day).count =PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today - 7.day).beginning_of_day).count
.label .label
Inscriptions Inscriptions