belongsTo(Shipment::class); } public function order() { return $this->belongsTo(Order::class); } // Helper: return order data with fallback to snapshot public function getDisplayQty() { return $this->qty; } public function getDisplayAmount() { return $this->ttl_amount; } }