|
|
|
@ -127,6 +127,7 @@ class TrackingInfo {
|
|
|
|
|
"status" => TrackingStatus::statusToString($this->getCurrentStatus()->getStatus()),
|
|
|
|
|
"details" => $this->getCurrentStatus()->toString(),
|
|
|
|
|
"datetime" => $this->getCurrentStatus()->getDateTime(),
|
|
|
|
|
"nicetime" => $this->getCurrentStatus()->getDateTime("F j g:i a"),
|
|
|
|
|
"timestamp" => $this->getCurrentStatus()->getTimestamp(),
|
|
|
|
|
"containerscan" => $this->getCurrentStatus()->isContainerScan(),
|
|
|
|
|
"location" => [
|
|
|
|
@ -175,6 +176,7 @@ class TrackingInfo {
|
|
|
|
|
"status" => TrackingStatus::statusToString($history->getStatus()),
|
|
|
|
|
"details" => $history->toString(),
|
|
|
|
|
"datetime" => $history->getDateTime(),
|
|
|
|
|
"nicetime" => $history->getDateTime("F j g:i a"),
|
|
|
|
|
"timestamp" => $history->getTimestamp(),
|
|
|
|
|
"containerscan" => $history->isContainerScan(),
|
|
|
|
|
"location" => [
|
|
|
|
|