Updated vendor post to use new logAction function, tidy and added more details to logging

This commit is contained in:
johnnyq
2024-11-14 13:39:17 -05:00
parent 670390f1d3
commit 8ffa90ae28
3 changed files with 56 additions and 47 deletions

View File

@@ -38,6 +38,7 @@ if (isset($_POST['edit_trip'])) {
}
if (isset($_GET['delete_trip'])) {
$trip_id = intval($_GET['delete_trip']);
// Get Trip Info and Client ID for logging
@@ -59,6 +60,7 @@ if (isset($_GET['delete_trip'])) {
}
if (isset($_POST['export_trips_csv'])) {
$date_from = sanitizeInput($_POST['date_from']);
$date_to = sanitizeInput($_POST['date_to']);
if (!empty($date_from) && !empty($date_to)){