@extends('layouts.app') @section('content')

TQ CARS

كشف حساب السيارة التفصيلي

{{ $car->brand->name ?? '' }} {{ $car->carModel->name ?? '' }}
{{ $car->plate_number }} | {{ $car->year }}
{{ $car->branch->name }}
إجمالي الإيرادات {{ number_format($summary['total_income'], 0) }} ر.س
إجمالي المصروفات {{ number_format($summary['total_expense'], 0) }} ر.س
صافي الربح المحاسبي {{ number_format($summary['accounting_profit'], 0) }} ر.س
القيمة الدفترية الحالية {{ number_format($summary['current_book_value'], 0) }} ر.س
إجمالي الإهلاك: {{ number_format($summary['total_depreciation'], 0) }} ر.س
الربح النقدي: {{ number_format($summary['net_cash_profit'], 0) }} ر.س
أيام التشغيل: {{ $summary['operating_days'] }} يوم
نسبة الإشغال: {{ $summary['occupancy_rate'] }}%
@php $running = 0; @endphp @forelse($transactions as $tx) @empty @endforelse
التاريخ نوع الحركة رقم المرجع الجهة / العميل البيان / الوصف إيراد (+) مصروف (-) إهلاك (-) قيمة دفترية الرصيد النقدي
{{ \Carbon\Carbon::parse($tx['date'])->format('Y-m-d') }} {{ $tx['label'] }} #{{ $tx['ref'] }} {{ $tx['party'] }} {{ $tx['description'] }} {{ $tx['income'] > 0 ? number_format($tx['income'], 0) : '-' }} {{ $tx['expense'] > 0 ? number_format($tx['expense'], 0) : '-' }} {{ $tx['depreciation'] > 0 ? number_format($tx['depreciation'], 0) : '-' }} {{ number_format($tx['book_value'], 0) }} {{ number_format($tx['running_balance'], 2) }}
لا توجد حركات مسجلة لهذه الفترة
@endsection