mirror of
https://github.com/itflow-org/itflow
synced 2026-03-06 22:04:51 +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(payment_date) FROM payments
|
||||||
UNION DISTINCT SELECT YEAR(revenue_date) FROM revenues
|
UNION DISTINCT SELECT YEAR(revenue_date) FROM revenues
|
||||||
UNION DISTINCT SELECT YEAR(invoice_date) FROM invoices
|
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
|
ORDER BY all_years DESC
|
||||||
");
|
");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user