mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-24 05:04:07 -08:00
Added note pivot
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
024a014298
commit
3ec77724d8
|
@ -71,6 +71,7 @@ class ComponentsTransformer
|
|||
'id' => (int) $asset->id,
|
||||
'name' => e($asset->model->present()->name).' '.e($asset->present()->name),
|
||||
'qty' => $asset->pivot->assigned_qty,
|
||||
'note' => $asset->pivot->note,
|
||||
'type' => 'asset',
|
||||
'created_at' => Helper::getFormattedDateObject($asset->pivot->created_at, 'datetime'),
|
||||
'available_actions' => ['checkin' => true],
|
||||
|
|
Loading…
Reference in a new issue