@if ($depreciation->category == 'Company Act') @else @endif {{-- --}} @forelse($assets as $key => $val) @if ($depreciation->category == 'Company Act') @else @endif {{-- --}} @empty @endif @if ($sum > 0) @if ($depreciation->category == 'Company Act') @else @endif @endif
Sr Asset Ref Asset & Group Name Start Date End Date Days Asset Value Accu Depre. Opening ValueSalvage Est Depreciation MethodPer%Depreciation Amount Closing ValueUser
{{ @$key + 1 }} {{ @$val->rfc ?: @$val->ref }} {{ @ucfirst($val->asset_name) }}
{{ $depreciation->category == 'Company Act' ? $val->group_name : $val->depreciation_group_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->asset_value - $val->acc_dep }}{{ $val->sal_value }} {{ $val->est }} {{ @$val->asset_depreciation_type }}{{ $val->pre }}{{ $val->amount ?: '-' }} {{ $val->asset_value - $val->acc_dep - $val->amount }}{{ $val->user->name }}
No Assets
Total {{ $opening_balance }} {!! $sum ? number_format($sum, 2, '.', '') : '-' !!} {{ $closing_balance }} Total {{ $opening_balance }} {!! $sum ? number_format($sum, 2, '.', '') : '-' !!} {{ $closing_balance }}