suite
This commit is contained in:
parent
fb5eac464a
commit
a4170d531d
@ -17,7 +17,7 @@
|
||||
.qi_kpi
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", Date.today.beginning_of_day).count
|
||||
=PCustomer.where(:test_user => false, :enabled => true).where("created_at >= ?", Date.today.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ? and created_at < ?",(Date.today.beginning_of_day-1.day), Date.today.beginning_of_day).count
|
||||
=PCustomer.where(:test_user => false, :enabled => true).where("created_at >= ? and created_at < ?",(Date.today.beginning_of_day-1.day), Date.today.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
@ -38,7 +38,7 @@
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today - 7.day).beginning_of_day).count
|
||||
=PCustomer.where(:test_user => false, :enabled => true).where("created_at >= ?", (Date.today - 7.day).beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
@ -47,7 +47,7 @@
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).where("created_at >= ?", (Date.today).beginning_of_year.beginning_of_day).count
|
||||
=PCustomer.where(:test_user => false, :enabled => true).where("created_at >= ?", (Date.today).beginning_of_year.beginning_of_day).count
|
||||
|
||||
.label
|
||||
Inscriptions
|
||||
@ -57,7 +57,7 @@
|
||||
|
||||
.kpi
|
||||
.number
|
||||
=PCustomer.where(:test_user => false).count
|
||||
=PCustomer.where(:test_user => false, :enabled => true).count
|
||||
|
||||
.label
|
||||
Utilisateurs
|
||||
|
Loading…
x
Reference in New Issue
Block a user