@if($allOrganizations->isEmpty())
@else
@if(auth()->user()->hasPermissionTo('Organization - Edit Organization') || auth()->user()->hasPermissionTo('Organization - Delete Organization')) @endif @php $counter = ($allOrganizations->currentPage() - 1) * $allOrganizations->perPage() + 1; @endphp @foreach($allOrganizations as $organization) @if(auth()->user()->hasPermissionTo('Organization - Edit Organization')) @endif @if(auth()->user()->hasPermissionTo('Organization - Delete Organization')) @endif @endforeach
{{ __('organization.no')}} {{ __('organization.name')}} {{ __('organization.type')}} {{ __('organization.created_date')}}
{{$organization->name}} @if($organization->type == 'government') {{ __('organization.government') }} @else {{ __('organization.non-government') }} @endif {{ date('Y-m-d', strtotime($organization->created_at)) }}
@endif