@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.depreciation_report') }} @parent @stop {{-- Page content --}} @section('content')
{{ trans('admin/hardware/table.asset_tag') }} | {{ trans('admin/hardware/table.title') }} | @if ($snipeSettings->display_asset_name){{ trans('general.name') }} | @endif{{ trans('admin/hardware/table.serial') }} | {{ trans('admin/hardware/table.checkoutto') }} | {{ trans('admin/hardware/table.location') }} | {{ trans('admin/hardware/table.purchase_date') }} | {{ trans('admin/hardware/table.eol') }} | {{ trans('admin/hardware/table.purchase_cost') }} | {{ trans('admin/hardware/table.book_value') }} | {{ trans('admin/hardware/table.diff') }} | |||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $asset->asset_tag }} | {{ $asset->model->name }} | @if ($snipeSettings->display_asset_name){{ $asset->name }} | @endif{{ $asset->serial }} | @if ($asset->assigned_to != '') {!! $asset->assignedTo->present->nameUrl() !!} @endif | @if (($asset->assignedTo) && ($asset->assigneduser->assetLoc)) {{ $asset->assignedTo->assetLoc->city }}, {{ $asset->assignedTo->assetLoc->state}} @endif | {{ $asset->purchase_date }} | @if ($asset->model->eol) {{ $asset->present()->eol_date() }} @endif | @if ($asset->purchase_cost > 0){{ $snipeSettings->default_currency }} {{ \App\Helpers\Helper::formatCurrencyOutput($asset->purchase_cost) }} | {{ $snipeSettings->default_currency }} {{ number_format($asset->depreciate()) }} | {{ $snipeSettings->default_currency }} -{{ number_format(($asset->purchase_cost - $asset->depreciate())) }} | @else {{-- purchase_cost > 0 --}}@endif |