mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-13 17:14:10 -08:00
Added format to array
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
db43628bdc
commit
381f89c5a8
|
@ -32,6 +32,7 @@ class AssetModelsTransformer
|
|||
'name' => e($field->name),
|
||||
'db_column_name' => e($field->db_column_name()),
|
||||
'default_value' => ($field->defaultValue($assetmodel->id)) ? e($field->defaultValue($assetmodel->id)) : null,
|
||||
'format' => e($field->format),
|
||||
'required' => ($field->pivot->required == '1') ? true : false,
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue