New UI to show YD Order Tracking infomation

This commit is contained in:
Dillon Ngo
2025-03-24 05:48:00 +08:00
parent 21f1a14e6f
commit acb42ef3ab
2 changed files with 16 additions and 2 deletions
+2 -1
View File
@@ -18,7 +18,8 @@ class OrderTrackingResource extends JsonResource
return [
'id' => $this->id,
// 'tracking_no' => $this->tracking_no,
'tracking' => $this->tracking_english . ($this->remark_english ? " (" . $this->remark_english . ")" : ''),
'tracking' => $this->tracking . ($this->remark ? " (" . $this->remark . ")" : ''),
'tracking_english' => $this->tracking_english . ($this->remark_english ? " (" . $this->remark_english . ")" : ''),
'tracking_time' => $this->tracking_time,
];
}