@extends('layouts/default')
{{-- Page title --}}
@section('title')
{{ trans('admin/models/table.view') }}
{{ $model->model_tag }}
@parent
@stop
@section('header_right')
@can('superuser')
@endcan
@stop
{{-- Page content --}}
@section('content')
@if ($model->id)
@endif
{{ trans('general.id') }} |
{{ trans('admin/companies/table.title') }} |
{{ trans('general.name') }} |
{{ trans('general.asset_tag') }} |
{{ trans('admin/hardware/table.serial') }} |
{{ trans('general.user') }} |
{{ trans('admin/hardware/table.change') }} |
{{ trans('table.actions') }} |
More Info:
@if ($model->manufacturer)
-
{{ trans('general.manufacturer') }}:
@can('view', \App\Models\Manufacturer::class)
{{ $model->manufacturer->name }}
@else
{{ $model->manufacturer->name }}
@endcan
@endif
@if ($model->manufacturer->url)
-
{{ $model->manufacturer->url }}
@endif
@if ($model->manufacturer->support_url)
-
{{ $model->manufacturer->support_url }}
@endif
@if ($model->manufacturer->support_phone)
-
{{ $model->manufacturer->support_phone }}
@endif
@if ($model->manufacturer->support_email)
-
{{ $model->manufacturer->support_email }}
@endif
@if ($model->model_number)
-
{{ trans('general.model_no') }}:
{{ $model->model_number }}
@endif
@if ($model->depreciation)
-
{{ trans('general.depreciation') }}:
{{ $model->depreciation->name }} ({{ $model->depreciation->months.' '.trans('general.months')}})
@endif
@if ($model->eol)
- {{ trans('general.eol') }}:
{{ $model->eol .' '. trans('general.months') }}
@endif
@if ($model->fieldset)
- {{ trans('admin/models/general.fieldset') }}:
{{ $model->fieldset->name }}
@endif
@if ($model->image)
@endif
@if ($model->deleted_at!='')
{{ trans('admin/models/general.restore') }}
@endif
@if ($model->note)
Notes:
{!! $model->present()->note() !!}
@endif
@stop
@section('moar_scripts')
@include ('partials.bootstrap-table', ['exportFile' => 'model' . $model->name . '-export', 'search' => true])
@stop