@include('header') @php // Set no-cache headers header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); header('Expires: 0'); @endphp
@include('left-split-view')
My Companies
Create content, manage plans, and edit details of the companies you manage.
@php $search = session()->has('searchHistory') ? session()->get('searchHistory') :''; @endphp
Search
@if(!empty($search))
Clear
@endif
@can('add-company')
Add New Company
{{--
--}}
@endcan
@isset($companies['data'])
@if($companies['data'] != null)
Company Id
Email
Company Name
URL
Seller Name
@if(auth()->user()->user_role === 1)
Account Type
@endif
@foreach ($companies['data'] as $company)
#{{$company->client_id}}
{{$company->email}}
{{$company->company_name}}
{{$company->url}}
{{$company->name}}
@if(auth()->user()->user_role === 1)
@if($company->user_role === 3)
Change Role
@else
{{ $company->user_role === 1 ? 'Account Manager' : ($company->user_role === 2 ? 'Partner' : ($company->user_role === 4 ? 'Direct Sales' : '')) }}
@endif
@endif
@can('update-company')
@endcan @can('Give-access-to-edit-permissions')
@endcan @can('impersonate')
@endcan
@endforeach
@else
There are no company details available.
@endif
@endisset
@if(!empty($companies['to'])) @foreach ($companies['links'] as $link)
{{html_entity_decode($link['label'])}}
@endforeach @endif
@include('footer')