added ownership
This commit is contained in:
@ -22,6 +22,7 @@ class Company extends TransformerAbstract
|
||||
'address' => $model->address,
|
||||
'logo' => $model->logo,
|
||||
'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() : '',
|
||||
];
|
||||
|
@ -27,6 +27,7 @@ class Contact extends TransformerAbstract
|
||||
'currency_code' => $model->currency_code,
|
||||
'enabled' => $model->enabled,
|
||||
'reference' => $model->reference,
|
||||
'created_by' => $model->created_by,
|
||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||
];
|
||||
|
@ -24,6 +24,7 @@ class Dashboard extends TransformerAbstract
|
||||
'company_id' => $model->company_id,
|
||||
'name' => $model->name,
|
||||
'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() : '',
|
||||
];
|
||||
|
@ -30,6 +30,7 @@ class Item extends TransformerAbstract
|
||||
'tax_ids' => $model->tax_ids,
|
||||
'picture' => $model->picture,
|
||||
'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() : '',
|
||||
];
|
||||
|
@ -22,6 +22,7 @@ class Report extends TransformerAbstract
|
||||
'description' => $model->description,
|
||||
'settings' => $model->settings,
|
||||
'data' => $this->getReportData($model),
|
||||
'created_by' => $model->created_by,
|
||||
'created_at' => $model->created_at ? $model->created_at->toIso8601String() : '',
|
||||
'updated_at' => $model->updated_at ? $model->updated_at->toIso8601String() : '',
|
||||
];
|
||||
|
@ -27,6 +27,7 @@ class Widget extends TransformerAbstract
|
||||
'sort' => $model->sort,
|
||||
'settings' => $model->settings,
|
||||
'data' => show_widget($model),
|
||||
'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