@if (@isset($data) && !@empty($data) && count($data) >0 ) @php $i=1; @endphp
@foreach ($data as $invoice) @endforeach
{{ __('home.decoumentNo') }} {{ __('home.exportTime') }} {{ __('home.employee') }} {{ __('home.acount_name') }} {{ __('accountes.Theamountpaid') }} ملاحظات {{ __('home.operations') }}
{{ $invoice->sent_abd_count}} {{ $invoice->created_at }} {{ $invoice->user->name }} {{ $invoice->financial_accounts_data->name }} {{ $invoice->recive_amount }} {{ $invoice->note }}
@php $user = Auth::user(); // التأكد من أن المستخدم أدمن أو مدير $isAdminOrManager = !empty(array_intersect(['Admin', 'Manger'], (array)$user->roles_name)); @endphp @if($isAdminOrManager) @endif @if($isAdminOrManager) @endif
@if($invoice->attachments!=null){{ __('home.show')}} @else - @endif

@else
{{__('home.notfounddata')}}
@endif