@if ($depreciation->include_cost_center) @endif @forelse($ledgers as $key => $val) @if ($depreciation->include_cost_center) @endif {{-- --}} {{-- --}} @empty @endif @if ($sum > 0) @if ($depreciation->include_cost_center) @else @endif {{-- --}} @endif
Sr Asset GroupCost Center Sub Cost CenterStart Date End Date Total Asset Debit Account Credit Account Amount
{{ @$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->debit_account }} {{ $val->credit_account }} {{ $val->amount ?: '-' }}{{ $val->user->name }}
No Ledger
Total Total{{ $sum ?: '-' }}{!! $val->user->name !!}