@if(isset($finalData) && count($finalData) > 0)
| # | {{__('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}} | {{-- المبالغ من مصفوفة sums --}}{{ 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' }} |