@extends('layouts.master') @section('css') @endsection @section('title') {{ __('home.general_budget') }} @stop @section('page-header') @endsection @section('content') @php $currentDate = \Carbon\Carbon::now()->addHours(3)->format("Y-m-d H:i:s"); @endphp

{{ $Nameen ?? '' }}

{{ describtionen ?? '' }}

{{ STen ?? '' }}

{{ Taxen ?? '' }}

@php $logo = camplogo ?? 'default.png'; @endphp logo

{{ Namear ?? '' }}

{{ describtionar ?? '' }}

{{ STar ?? '' }}

{{ Taxar ?? '' }}

تقرير ميزان المراجعة | Trial Balance Report

{{ __('report.fromdate') }} {{ $start_at }} {{ __('report.todate') }} {{ $end_at }} {{ __('home.exportTime') }} {{ $currentDate }}

@foreach($types as $type) @php $typeRootAccounts = $rootAccounts->where('account_type', $type->id); @endphp @if($typeRootAccounts->count() > 0) @foreach($typeRootAccounts as $account) @php $hasChildren = !empty($childrenMap[$account->id]); $totals = $accountTotals[$account->id] ?? (object) ['debtor' => 0, 'creditor' => 0, 'balance' => 0]; @endphp @endforeach
{{ app()->getLocale() == 'ar' ? ($type->name_ar ?? $type->name) : ($type->name_en ?? $type->name) }}
الحساب Account مدين | Debit دائن | Credit الإجمالي | Balance (SAR)
{{ number_format((float)($totals->debtor ?? 0), 2) }} {{ number_format((float)($totals->creditor ?? 0), 2) }} {{ number_format((float)($totals->balance ?? 0), 2) }}
@endif @endforeach
@endsection @section('js') @endsection