diff --git a/ajax/ajax_trip_copy.php b/ajax/ajax_trip_copy.php index 8200ebd19..8865b81bd 100644 --- a/ajax/ajax_trip_copy.php +++ b/ajax/ajax_trip_copy.php @@ -16,7 +16,7 @@ $trip_created_at = nullable_htmlentities($row['trip_created_at']); $trip_archived_at = nullable_htmlentities($row['trip_archived_at']); $round_trip = nullable_htmlentities($row['round_trip']); -$client_id = intval($row['client_id']); +$client_id = intval($row['trip_client_id']); // Generate the HTML form content using output buffering. ob_start(); diff --git a/ajax/ajax_trip_edit.php b/ajax/ajax_trip_edit.php index f3abf2a7b..352f47dce 100644 --- a/ajax/ajax_trip_edit.php +++ b/ajax/ajax_trip_edit.php @@ -16,7 +16,7 @@ $trip_created_at = nullable_htmlentities($row['trip_created_at']); $trip_archived_at = nullable_htmlentities($row['trip_archived_at']); $round_trip = nullable_htmlentities($row['round_trip']); -$client_id = intval($row['client_id']); +$client_id = intval($row['trip_client_id']); // Generate the HTML form content using output buffering. ob_start(); diff --git a/client_trips.php b/client_trips.php deleted file mode 100644 index d37e0d71c..000000000 --- a/client_trips.php +++ /dev/null @@ -1,195 +0,0 @@ - - -
-
-

Trips

-
-
- - 0) { ?> - - - -
- -
-
-
-
- -
- -
-
- -
- -
-
-
- -
-
-
-
- -
-
-
-
- - "> - - - - - - - - - - - - "; - } else { - $round_trip_display = ""; - } - $user_name = nullable_htmlentities($row['user_name']); - if (empty($user_name)) { - $user_name_display = "-"; - } else { - $user_name_display = $user_name; - } - - ?> - - - - - - - - - - - - - -
- - Date - - - - Driver - - - - Purpose - - - - From - - - - To - - - - Miles - - Action
- - - - - -
-
- -
-
- -