@extends('layouts.master') @section('css') @include('transport_reports._style') @endsection @section('title') الميزانية العمومية @stop @section('page-header') @endsection @section('content') @php $m = function ($v) { return number_format((float) $v, 2); }; $from = null; $asOf = true; @endphp @include('accounting_reports._tabs')

{{ defined('Namear') ? Namear : '' }}

الميزانية العمومية حتى {{ $to }}
@include('accounting_reports._filter')
إجمالي الأصول{{ $m($sections[1]['total']) }}
إجمالي الخصوم{{ $m($sections[2]['total']) }}
حقوق الملكية + صافي الربح{{ $m($sections[5]['total'] + $profit) }}
الفرق{{ $m($diff) }} {{ abs($diff) < 0.01 ? 'متوازنة' : 'غير متوازنة' }}
@forelse ($sections[1]['rows'] as $r) @empty @endforelse
رقمالأصولالمبلغ
{{ $r['number'] }}{{ $r['name'] }}{{ $m($r['amount']) }}
لا توجد أرصدة
إجمالي الأصول{{ $m($sections[1]['total']) }}
@foreach ([2, 5] as $t) @forelse ($sections[$t]['rows'] as $r) @empty @endforelse @endforeach
رقمالخصوم وحقوق الملكيةالمبلغ
{{ $sections[$t]['label'] }}
{{ $r['number'] }}{{ $r['name'] }}{{ $m($r['amount']) }}
لا توجد أرصدة
إجمالي {{ $sections[$t]['label'] }}{{ $m($sections[$t]['total']) }}
صافي {{ $profit >= 0 ? 'ربح' : 'خسارة' }} الفترة (الإيرادات {{ $m($rev) }} − المصروفات {{ $m($exp) }}){{ $m($profit) }}
إجمالي الخصوم وحقوق الملكية{{ $m($liabEq) }}
@if (abs($diff) >= 0.01)
الميزانية فيها فرق {{ $m($diff) }} — ده غالباً بسبب قيود متسجلة من طرف واحد أو حسابات مالهاش نوع في الشجرة. راجع «ميزان المراجعة» وشوف فرق الحركة.
@endif @endsection