mirror of
https://github.com/hotspotbilling/phpnuxbill.git
synced 2025-08-03 01:34:53 +02:00
fix: remove unnecessary condition for created_at in voucher query to improve data accuracy
This commit is contained in:
parent
a32005e1f0
commit
9acf219b90
1 changed files with 0 additions and 1 deletions
|
@ -787,7 +787,6 @@ switch ($action) {
|
|||
"CASE WHEN DATE(created_at) = CURDATE() THEN 'Today' ELSE DATE(created_at) END",
|
||||
'created_datetime'
|
||||
)
|
||||
->where_not_equal('created_at', '0000-00-00 00:00:00')
|
||||
->select_expr('COUNT(*)', 'voucher_count')
|
||||
->group_by('created_datetime')
|
||||
->order_by_desc('created_datetime')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue