@extends('layouts/default') {{-- Page title --}} @section('title') {{ $component->name }} {{ trans('general.component') }} @parent @stop {{-- Right header --}} @section('header_right') @can('manage', $component) @endcan @stop {{-- Page content --}} @section('content')
{{ trans('general.asset') }} {{ trans('general.qty') }} {{ trans('general.date') }}
@if ($component->serial!='')
{{ trans('admin/hardware/form.serial') }}: {{ $component->serial }}
@endif @if ($component->purchase_date)
{{ trans('admin/components/general.date') }}: {{ $component->purchase_date }}
@endif @if ($component->purchase_cost)
{{ trans('admin/components/general.cost') }}: {{ $snipeSettings->default_currency }} {{ \App\Helpers\Helper::formatCurrencyOutput($component->purchase_cost) }}
@endif @if ($component->order_number)
{{ trans('admin/components/general.order') }}: {{ $component->order_number }}
@endif
@stop @section('moar_scripts') @include ('partials.bootstrap-table', ['exportFile' => 'component' . $component->name . '-export', 'search' => false]) @stop