@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.license_report') }} @parent @stop {{-- Page content --}} @section('content')
@foreach ($licenses as $license) @endforeach
{{ trans('admin/companies/table.title') }} {{ trans('admin/licenses/table.title') }} {{ trans('admin/licenses/table.serial') }} {{ trans('admin/licenses/form.seats') }} {{ trans('admin/licenses/form.remaining_seats') }} {{ trans('admin/licenses/form.expiration') }} {{ trans('general.purchase_date') }} {{ trans('general.purchase_cost') }} {{ trans('general.depreciation') }} {{ trans('admin/hardware/table.book_value') }} {{ trans('admin/hardware/table.diff') }}
{{ is_null($license->company) ? '' : $license->company->name }} {{ $license->name }} {{ mb_strimwidth($license->serial, 0, 50, "...") }} {{ $license->seats }} {{ $license->remaincount() }} {{ $license->expiration_date }} {{ $license->purchase_date }} {{ $snipeSettings->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput($license->purchase_cost) }} {{ ($license->depreciation) ? e($license->depreciation->name).' ('.$license->depreciation->months.' '.trans('general.months').')' : '' }} {{ $snipeSettings->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput($license->getDepreciatedValue()) }} -{{ $snipeSettings->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput(($license->purchase_cost - $license->getDepreciatedValue())) }}
@section('moar_scripts') @stop @stop