mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Update Year select
This commit is contained in:
@@ -22,6 +22,9 @@ $sql_years_select = mysqli_query(
|
||||
UNION DISTINCT SELECT YEAR(payment_date) FROM payments
|
||||
UNION DISTINCT SELECT YEAR(revenue_date) FROM revenues
|
||||
UNION DISTINCT SELECT YEAR(invoice_date) FROM invoices
|
||||
UNION DISTINCT SELECT YEAR(ticket_created_at) FROM tickets
|
||||
UNION DISTINCT SELECT YEAR(client_created_at) FROM clients
|
||||
UNION DISTINCT SELECT YEAR(user_created_at) FROM users
|
||||
ORDER BY all_years DESC
|
||||
");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user