mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Foxed license name in licenses API
This commit is contained in:
parent
d799ab2a9c
commit
bb2b6cb642
|
@ -36,7 +36,7 @@ class LicensesTransformer
|
|||
'total_seats' => e($license->seats),
|
||||
'remaining_qty' => $license->remaincount(),
|
||||
'min_qty' => $license->remaincount(),
|
||||
'license_name' => Helper::formatCurrencyOutput($license->purchase_cost),
|
||||
'license_name' => e($license->license_name),
|
||||
'license_email' => e($license->license_email),
|
||||
'maintained' => ($license->maintained == 1) ? true : false,
|
||||
'supplier' => ($license->supplier) ? ['id' => $license->supplier->id,'name'=> e($license->supplier->name)] : null,
|
||||
|
|
Loading…
Reference in a new issue