@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/form.license_key') }} {{ 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 }} @can('viewKeys', $license) {{ $license->serial }} @else ------------ @endcan {{ $license->seats }} {{ $license->remaincount() }} {{ $license->expiration_date }} {{ $license->purchase_date }} {{ $snipeSettings->default_currency }}{{ Helper::formatCurrencyOutput($license->purchase_cost) }} {{ ($license->depreciation) ? e($license->depreciation->name).' ('.$license->depreciation->months.' '.trans('general.months').')' : '' }} {{ $snipeSettings->default_currency }}{{ Helper::formatCurrencyOutput($license->getDepreciatedValue()) }} -{{ $snipeSettings->default_currency }}{{ Helper::formatCurrencyOutput(($license->purchase_cost - $license->getDepreciatedValue())) }}
@stop @section('moar_scripts') @include ('partials.bootstrap-table') @stop