@extends('layouts.master') @section('css') @endsection @section('title') {{ __('home.general_budget') }} @endsection @section('page-header') @endsection @section('content') @if (count($errors) > 0)
خطا
@endif @if(isset($assets))

{{ Namear ?? '' }}

{{ describtionar ?? '' }}

{{ STar ?? '' }}

{{ Taxar ?? '' }}

@php $logo = camplogo ?? ''; @endphp @if($logo) logo @endif
الميزانية العامة
General Budget

{{ Nameen ?? '' }}

{{ describtionen ?? '' }}

{{ STen ?? '' }}

{{ Taxen ?? '' }}

تقرير الميزانية العامة
@php $totalAssets = 0; foreach($assets as $acc) { $totalAssets += ($acc->current_balance ?? 0); } @endphp
الأصول
الإجمالي: {{ number_format($totalAssets, 2) }}
@forelse($assets as $account) @empty @endforelse
اسم الحساب الرصيد
{{ $account->name }} {{ number_format($account->current_balance ?? 0, 2) }}
لا توجد أصول مضافة
@php $totalLiabilities = 0; foreach($liabilities as $acc) { $totalLiabilities += ($acc->current_balance ?? 0); } @endphp
الخصوم
الإجمالي: {{ number_format($totalLiabilities, 2) }}
@forelse($liabilities as $account) @empty @endforelse
اسم الحساب الرصيد
{{ $account->name }} {{ number_format($account->current_balance ?? 0, 2) }}
لا توجد خصوم مضافة
@php $totalEquity = 0; foreach($equity as $acc) { $totalEquity += ($acc->current_balance ?? 0); } @endphp
حقوق الملكية
الإجمالي: {{ number_format($totalEquity, 2) }}
@forelse($equity as $account) @empty @endforelse
اسم الحساب الرصيد
{{ $account->name }} {{ number_format($account->current_balance ?? 0, 2) }}
لا توجد حسابات حقوق ملكية مضافة
إجمالي الخصوم وحقوق الملكية: {{ number_format($totalLiabilities + $totalEquity, 2) }}
توزيع الميزانية العامة (رسم بياني)
@endif @endsection @section('js') @endsection