mirror of
https://github.com/itflow-org/itflow
synced 2026-11-27 06:39:00 +00:00
Archive clients, ticket replies, accounts and SLAs and restore anything without an Are you sure prompt, with Undo added for ticket replies and accounts, real plurals and bold counts in bulk messages, and flashAlert for asset and contact note messages
This commit is contained in:
@@ -978,7 +978,7 @@ function dashboardTrips($period) {
|
||||
|
||||
return [
|
||||
'labels' => array_map(function ($m) {
|
||||
return date('M y', strtotime("$m-01"));
|
||||
return date('M Y', strtotime("$m-01"));
|
||||
}, $months),
|
||||
'miles' => dashboardMonthly("SELECT DATE_FORMAT(trip_date, '%Y-%m') AS m, SUM(trip_miles) AS v FROM trips
|
||||
WHERE trip_archived_at IS NULL AND trip_date BETWEEN '$from' AND '$to' GROUP BY m", $months),
|
||||
|
||||
Reference in New Issue
Block a user