Output USPS event code if unknown
This commit is contained in:
parent
94f9e3dfd4
commit
e4fed62e45
@ -138,7 +138,7 @@ class Tracking_USPS {
|
||||
}
|
||||
$info->appendHistoryEntry(new TrackingEntry(
|
||||
TrackingStatus::USPSEventCodeToStatus((string) $history->EventCode),
|
||||
((string) $history->Event),
|
||||
((string) $history->Event) . (TrackingStatus::USPSEventCodeToStatus((string) $history->EventCode) == TrackingStatus::TRACKING_STATUS_UNKNOWN ? " " . (string) $history->EventCode : ""),
|
||||
$datetime,
|
||||
$location,
|
||||
TrackingStatus::isUSPSEventCodeContainerScan((string) $history->EventCode)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user