@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('admin/suppliers/table.view') }} - {{ $supplier->name }} @parent @stop @section('header_right') {{ trans('admin/suppliers/table.update') }} @stop {{-- Page content --}} @section('content')

{{ trans('general.assets') }}

{{ trans('general.id') }} {{ trans('admin/hardware/table.image') }} {{ trans('general.name') }} {{ trans('admin/hardware/form.model') }} {{ trans('admin/hardware/form.tag') }} {{ trans('admin/hardware/form.serial') }} {{ trans('general.category') }} {{ trans('general.purchase_cost') }} {{ trans('general.checkin') }}/{{ trans('general.checkout') }} {{ trans('table.actions') }}

{{ trans('general.accessories') }}

@if ($supplier->id)

{{ trans('general.licenses') }}

@endif
@if ($supplier->id)

{{ trans('general.improvements') }}

@endif
@if ($supplier->asset_maintenances) @foreach ($supplier->asset_maintenances as $improvement) @if (is_null($improvement->deleted_at)) cost; ?> @endif @endforeach @endif
{{ trans('admin/asset_maintenances/table.asset_name') }} {{ trans('admin/asset_maintenances/form.asset_maintenance_type') }} {{ trans('admin/asset_maintenances/form.start_date') }} {{ trans('admin/asset_maintenances/form.completion_date') }} {{ trans('admin/asset_maintenances/table.is_warranty') }} {{ trans('admin/asset_maintenances/form.cost') }} {{ trans('table.actions') }}
@if ($improvement->asset) {{ $improvement->asset->name }} @else (deleted asset) @endif {{ $improvement->asset_maintenance_type }} {{ $improvement->start_date }} {{ $improvement->completion_date }} {{ $improvement->is_warranty ? trans('admin/asset_maintenances/message.warranty') : trans('admin/asset_maintenances/message.not_warranty') }} {{ $snipeSettings->default_currency. ' '. Helper::formatCurrencyOutput($improvement->cost) }}
{{ $snipeSettings->default_currency . ' '.Helper::formatCurrencyOutput($totalCost) }}
@if (($supplier->state!='') && ($supplier->country!='') && (config('services.google.maps_api_key')))
Map
@endif @if ($supplier->image!='')
{{ $supplier->name }}
@endif
@stop @section('moar_scripts') @include ('partials.bootstrap-table', [ 'showFooter' => true, ]) @stop