@extends('layouts.master') @section('title') {{ trans_choice('general.asset',2) }} @endsection @section('content')

{{ trans_choice('general.asset',2) }}

@foreach($data as $key) @endforeach
{{ trans_choice('general.name',1) }} {{ trans_choice('general.branch',1) }} {{ trans_choice('general.type',1) }} {{ trans_choice('general.purchase',1) }} {{ trans('general.date') }} {{ trans_choice('general.cost',1) }} {{ trans_choice('general.life_span',1) }} {{ trans_choice('general.salvage_value',1) }} {{ trans_choice('general.current',1) }} {{ trans_choice('general.value',1) }} {{ trans_choice('general.action',1) }}
{{ $key->name }} @if(!empty($key->office)) {{$key->office->name}} @endif @if(!empty($key->type)) {{$key->type->name}} @endif {{ $key->purchase_date }} {{ number_format($key->purchase_price,2) }} {{ $key->life_span }} {{ number_format($key->salvage_value,2) }} {{ number_format($key->value,2) }}
@endsection @section('footer-scripts') @endsection