@extends('layouts.master') @section('title') {{ $asset->name }} @endsection @section('page-header') @endsection @section('content') @include('financial_years.partials.alerts') @php $accumulated = $asset->accumulated(); @endphp
التكلفة{{ number_format($asset->cost, 2) }}
القيمة التخريدية{{ number_format($asset->salvage_value, 2) }}
العمر الإنتاجي{{ $asset->useful_life_months }} شهر
القسط الشهري{{ number_format($asset->monthlyAmount(), 2) }}
بداية الإهلاك{{ $asset->depreciation_start_date }}
الإهلاك المتراكم{{ number_format($accumulated, 2) }}
القيمة الدفترية{{ number_format($asset->cost - $accumulated, 2) }}
حساب الأصل{{ optional($asset->assetAccount)->name }}
مجمع الإهلاك{{ optional($asset->accumulatedAccount)->name }}
مصروف الإهلاك{{ optional($asset->expenseAccount)->name }}
الحالة{{ $asset->status === 'disposed' ? 'مستبعد بتاريخ ' . $asset->disposed_at . ' — المتحصلات ' . number_format($asset->disposal_proceeds, 2) : 'نشط' }}
@if ($asset->status !== 'disposed') @can('fixed_assets_manage')
بيع / استبعاد الأصل
@csrf
@include('fixed_assets._account_select', ['name' => 'proceeds_account_id', 'types' => [1], 'required' => false])
رحّل إهلاك الشهور حتى تاريخ الاستبعاد أولاً. الفرق بين القيمة الدفترية وقيمة البيع يُسجَّل في "أرباح وخسائر بيع الأصول الثابتة".
@endcan @endif
جدول الإهلاك
@foreach ($schedule as $row) @endforeach
الشهرالقسطالمجمعالقيمة الدفتريةالحالة
{{ $row->period }} {{ number_format($row->amount, 2) }} {{ number_format($row->accumulated, 2) }} {{ number_format($row->book_value, 2) }} {!! $row->posted ? 'مُرحّل' : 'متوقع' !!}
@endsection