@if (@isset($data) && !@empty($data) && count($data) >0 )
@php
$i=1;
@endphp
| {{ __('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
|
@endforeach
|---|