@extends('core::layouts.master') @section('title') {{ $asset->name }} @endsection @section('styles') @stop @section('content')

{{ $asset->name }}

@foreach($custom_fields as $custom_field)
{{ trans_choice('core::general.branch',1) }} @if(!empty($asset->branch)) {{$asset->branch->name}} @endif
{{ trans_choice('core::general.type',1) }} @if(!empty($asset->type)) {{$asset->type->name}} @endif
{{ trans_choice('asset::general.purchase',1) }} {{ trans('core::general.date') }} {{ $asset->purchase_date }}
{{ trans_choice('asset::general.cost',1) }} {{ number_format($asset->purchase_price,2) }}
{{ trans_choice('asset::general.life_span',1) }} {{ $asset->life_span }}
{{ trans('core::general.updated_at') }} {{ $asset->updated_at }}