diff --git a/app/Models/Component.php b/app/Models/Component.php index fb841d3074..79d2fe55f2 100644 --- a/app/Models/Component.php +++ b/app/Models/Component.php @@ -109,7 +109,7 @@ class Component extends SnipeModel */ public function assets() { - return $this->belongsToMany(\App\Models\Asset::class, 'components_assets')->withPivot('id', 'assigned_qty', 'created_at', 'user_id'); + return $this->belongsToMany(\App\Models\Asset::class, 'components_assets')->withPivot('id', 'assigned_qty', 'created_at', 'user_id', 'note'); } /**