Removed depreciation from Licenses transformer
This commit is contained in:
parent
0a5e4b9b7b
commit
f47075c180
1 changed files with 0 additions and 1 deletions
|
@ -30,7 +30,6 @@ class LicensesTransformer
|
||||||
'purchase_order' => e($license->purchase_order),
|
'purchase_order' => e($license->purchase_order),
|
||||||
'purchase_date' => Helper::getFormattedDateObject($license->purchase_date, 'date'),
|
'purchase_date' => Helper::getFormattedDateObject($license->purchase_date, 'date'),
|
||||||
'purchase_cost' => e($license->purchase_cost),
|
'purchase_cost' => e($license->purchase_cost),
|
||||||
'depreciation' => ($license->depreciation) ? ['id' => (int) $license->depreciation->id,'name'=> e($license->depreciation->name)] : null,
|
|
||||||
'notes' => e($license->notes),
|
'notes' => e($license->notes),
|
||||||
'expiration_date' => Helper::getFormattedDateObject($license->expiration_date, 'date'),
|
'expiration_date' => Helper::getFormattedDateObject($license->expiration_date, 'date'),
|
||||||
'total_seats' => (int) $license->seats,
|
'total_seats' => (int) $license->seats,
|
||||||
|
|
Loading…
Add table
Reference in a new issue