@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('admin/licenses/form.date') }} {{ trans('admin/licenses/form.cost') }} {{ trans('admin/licenses/form.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 }} {{ \App\Models\Setting::getSettings()->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput($license->purchase_cost) }} {{ ($license->depreciation) ? e($license->depreciation->name).' ('.$license->depreciation->months.' '.trans('general.months').')' : '' }} {{ \App\Models\Setting::getSettings()->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput($license->getDepreciatedValue()) }} -{{ \App\Models\Setting::getSettings()->default_currency }}{{ \App\Helpers\Helper::formatCurrencyOutput(($license->purchase_cost - $license->getDepreciatedValue())) }}
@section('moar_scripts') @stop @stop