@extends('layouts.app') @section('stitle', __('messages.balanceSheet')) @section('title', __('messages.balanceSheet')) @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif

{{__('messages.balanceSheet')}}

{{--
--}}
@php $total = 0; @endphp @foreach($data as $key =>$chartOfAcc) @include('accounting.reports.sub_revenue_view',['subcategories' => $chartOfAcc,'level' => 0, 'final_data' => $final_data]) @if(in_array($chartOfAcc['id'], array_keys($final_data))) @endif @endforeach
@if(setUserLang() == "ar") {{__('messages.Total')}} {{$chartOfAcc->code}} - {{$chartOfAcc->arabic_name}} @else {{__('messages.Total')}} {{$chartOfAcc->code}} - {{$chartOfAcc->name}} @endif @php format_balance($final_data[$chartOfAcc['id']]); @endphp @if($key != 0) @php $total += $final_data[$chartOfAcc['id']]; Log::channel('test_log')->info("Sub =>{$total} - {$key}"); @endphp @endif
{{__('messages.totalLiabilitiesAndEquity')}} @php format_balance($total); @endphp
{{--

--}} {{-- {{__('messages.CreatedBy')}}: ----}} {{--

--}}
{{--
--}} {{--

{{__('messages.totalDebit')}}:

--}} {{--

{{ Auth::user()->business->currency->symbol }}

--}} {{--
--}} {{--
--}} {{--
--}} {{--

{{__('messages.totalCredit')}} :

--}} {{--

{{ Auth::user()->business->currency->symbol }}

--}} {{--
--}}

{{--
--}} {{--
--}} {{-- Note:--}} {{-- It was a pleasure working with you and your team. We hope you will keep us in mind for future--}} {{-- projects. Thank You!--}} {{--
--}} {{--
--}}
@endsection @push('my_scripts') @endpush