@php
$add_ability = empty($org_type) ? 'create other organizations' : 'add ' . $org_type . ' organisations';
@endphp
@if(canViewUpdate($add_ability))
{{-- Add new organisation --}}
@endif
{{-- Add new organisation end --}}
{{-- Search end --}}
{{ __('New ' .$org_type) }}
@if(!empty($org_type))
{{ __('Add new '.$org_type) }}
@else
{{ __('Add new organisation') }}
@endif
{{ __('Search '. $org_type) }}
{{ __($org_type) }}
| {{ __(ucfirst($org_type)) }} | {{ __('Phone') }} | {{ __('E-mail address') }} | {{ __('Website') }} | @if($org_type === 'organisations') {{ __('Type(s)') }} @else {{ __('Type') }} @endif |
|---|---|---|---|---|
| @if(!empty($org_type)) {{ $organisation->name }} @if($organisation->application_owner === 'yes') ({{ __('Application Owner') }}) @endif @else {{ $organisation->name }} @if($organisation->application_owner === 'yes') ({{ __('Application Owner') }}) @endif @endif | {{ formatPhoneNumber($organisation->phone) }} | {{ $organisation->email }} | {{ $organisation->website }} | @if($org_type === 'organisations') {{ $organisation->type_names }} @else {{ __(ucfirst($org_type)) }} @endif |
| {{ __('No result found') }} | ||||
{{ $organisations->appends(request()->query())->links() }}