@extends('admin::curd.preview') @section('heading') @stop @section('title') @stop @section('breadcrumb') @stop @section('entry') @stop @section('tools') @stop @section('content')
` Excel {{-- --}}

Depreciation Ref : {{ $asset_depreciation->ref }}

Depreciation Type : {{ $asset_depreciation->category }}

Status : {{ $asset_depreciation->status }}

@if (@$asset_depreciation->status == 'Posted')

Voucher No : {{ $asset_depreciation->voucher_number }}

Posted Date : {{ @date('d M , Y', strtotime($asset_depreciation->posted_date)) }}

@endif

Amount : {{ $asset_depreciation->total_amount }}

Total Asset Count : {{ $asset_depreciation->asset_count }}

@if (@$asset_depreciation->category == 'Company Act') @else @endif {{-- --}} @forelse($assets as $key => $val) @if (@$asset_depreciation->category == 'Company Act') @else @endif {{-- --}} @empty @endif @if ($sum > 0) @if ($asset_depreciation->category == 'Company Act') @else @endif @endif

Assets

Sr Asset Ref Group Name Asset Name Start Date End Date Days Asset Value Accu Depre.Salvage Est Depreciation MethodPer%AmountUser
{{ @$key + 1 }} {{ @$val->rfc ?: @$val->ref }} {{ @$asset_depreciation->category == 'Company Act' ? @$val->group_name : @$val->depreciation_group_name }} {{ @ucfirst($val->asset_name) }} {{ @date('d M , Y', strtotime($val->start_date)) }} {{ @date('d M , Y', strtotime($val->end_date)) }} {{ $val->days }} {{ @$val->asset_value }} {{ @$val->acc_dep }}{{ $val->sal_value }} {{ $val->est }} {{ @$val->asset_depreciation_type }}{{ $val->pre }}{{ $val->amount ?: '-' }}{!! $val->user->name !!}
No Assets
Total {!! $sum ? number_format($sum, 2, '.', '') : '-' !!} Total {!! $sum ? number_format($sum, 2, '.', '') : '-' !!}
@stop