mirror of
https://github.com/snipe/snipe-it.git
synced 2025-10-29 11:21:21 +00:00
Include manufacturer_id
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
2225c44b12
commit
a4ba070c84
@ -773,7 +773,7 @@ class Asset extends Depreciable
|
||||
*/
|
||||
public function model()
|
||||
{
|
||||
return $this->belongsTo(\App\Models\AssetModel::class, 'model_id')->select(['id', 'name', 'model_number', 'category_id', 'created_at', 'created_by'])->withTrashed();
|
||||
return $this->belongsTo(\App\Models\AssetModel::class, 'model_id')->select(['id', 'name', 'model_number', 'manufacturer_id', 'category_id', 'created_at', 'created_by'])->withTrashed();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user