@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

Depreciation Amount : {{ $asset_depreciation->total_amount }}

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

@if ($asset_depreciation->include_cost_center) @endif ?> @forelse($ledgers as $key => $val) @if ($asset_depreciation->include_cost_center) @endif {{-- --}} @empty @endif @if ($sum > 0) @if ($asset_depreciation->include_cost_center) @else @endif @endif

Ledgers

Sr Asset GroupCost Center Sub Cost CenterStart Date End Date Total Asset Depreciation Type Debit Account Credit Account Asset Value Accu Depre. Opening Value Depreciation % Depreciation Amount Closing Value
{{ @$key + 1 }} {{ $val->group->name }}{{ @$val->cost_center->name }} {{ @$val->subcost_center->name }}{{ @date('d M , Y', strtotime($val->start_date)) }} {{ @date('d M , Y', strtotime($val->end_date)) }} {{ $val->total_asset }}{{ @$val->group->depreciation_type }}{{ $val->group->depreciation_type }} {{ $val->debit_account }} {{ $val->credit_account }} {{ $val->depre_data->asset_value }} {{ $val->depre_data->acc_dep }} {{$val->depre_data->opening_amount}} {{round(($val->amount / $val->depre_data->asset_value)* 100,2) ?: '-' }} {{ $val->amount ?: '-' }} {{$val->depre_data->closing_amount}}
No Ledger
Total Total{{ $opening_balance }} {{ $sum ? number_format($sum, 2, '.', '') : '-' }} {{ $closing_balance }}
@stop