Show latest event in history for USPS tracking

master
Skylar Ittner 3 years ago
parent f35e07033f
commit 478440be08

@ -72,6 +72,8 @@ class Tracking_USPS {
$current_status->setLocation($current_location);
$info->setCurrentStatus($current_status);
// USPS doesn't put the latest entry in the history
$info->appendHistoryEntry($current_status);
$from = new Location();
$from->city = (string) $trackinfo->OriginCity ?? "";

Loading…
Cancel
Save