added ownership
This commit is contained in:
@ -20,6 +20,7 @@ class Category extends TransformerAbstract
|
||||
'type' => $model->type,
|
||||
'color' => $model->color,
|
||||
'enabled' => $model->enabled,
|
||||
'created_by' => $model->created_by,
|
||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||
];
|
||||
|
@ -25,6 +25,7 @@ class Currency extends TransformerAbstract
|
||||
'symbol_first' => $model->symbol_first,
|
||||
'decimal_mark' => $model->decimal_mark,
|
||||
'thousands_separator' => $model->thousands_separator,
|
||||
'created_by' => $model->created_by,
|
||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||
];
|
||||
|
@ -19,6 +19,7 @@ class Tax extends TransformerAbstract
|
||||
'name' => $model->name,
|
||||
'rate' => $model->rate,
|
||||
'enabled' => $model->enabled,
|
||||
'created_by' => $model->created_by,
|
||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||
];
|
||||
|
Reference in New Issue
Block a user