@if(isset($finalData) && count($finalData) > 0)
{{-- الحركة مدين --}} {{-- الحركة دائن --}} @foreach($finalData as $index => $item) {{-- بيانات الحساب --}} {{-- المبالغ من مصفوفة sums --}} {{-- الصافي (مدين أو دائن) --}} @endforeach
# {{__('home.account_number')}} {{__('home.acount_name')}} {{__('home.tybe')}} {{__('home.Master')}} {{__('home.Master_account')}} {{__('home.depit_oping')}} {{__('home.credit_oping')}} {{__('home.debit')}}{{__('home.credit')}}{{__('home.current balance')}} {{__('home.status_active')}} {{ __('home.operations') }}
{{ $index + 1 }}{{ $item['account']->account_number }} {{ $item['account']->name }} {{App::getLocale()=='ar'?$item['account']->acounts_type->name_ar:$account->acounts_type->name_en}} {{ $item['account']->is_master ? __('home.Master_account') : __('home.scandary') }} {{$item['account']->parent_account_number!=NULL?App::getLocale()=='ar'?$item['account']->parent_account->name :$item['account']->parent_account->name_en:$item['account']->acounts_type->name_ar}}{{ number_format($item['sums']['o_d'], 2) }} {{ number_format($item['sums']['o_c'], 2) }} {{ number_format($item['sums']['c_d'], 2) }} {{ number_format($item['sums']['c_c'], 2) }} @if($item['net_debtor'] > 0) {{ number_format($item['net_debtor'], 2) }} ( {{__('home.debit')}}) @elseif($item['net_creditor'] > 0) {{ number_format($item['net_creditor'], 2) }} ({{__('home.credit')}}) @else 0.00 @endif @if($item['account']->active == 1) {{-- حالة النشط --}}
{{ __('users.active') }}
@else {{-- حالة غير النشط --}}
{{ app()->getLocale() == 'ar' ? 'غير نشط' : 'Inactive' }}
@endif
active == 1 ? 'checked' : '' }}>
{{ app()->getLocale() == 'ar' ? 'حذف' : 'Delete' }}
@else
لا توجد بيانات لعرضها
@endif