@php $updateCompanyPackagePermission = user()->permission('update_company_package'); $manageCompanyImpersonatePermission = user()->permission('manage_company_impersonate'); @endphp @if (!$company->approved && global_setting()->company_need_approval)
@lang('superadmin.companies.companyNeedApproval') @lang('app.approve')
@endif

{{ $company->company_name }}

@lang('app.createdOn') : {{ $company->created_at->timezone(global_setting()->timezone)->translatedFormat(global_setting()->date_format . ' ' . global_setting()->time_format) }}

@lang('app.lastLogin') @if (!is_null($company->last_login)) {{ $company->last_login->timezone(global_setting()->timezone)->translatedFormat(global_setting()->date_format . ' ' . global_setting()->time_format) }} @else -- @endif

@if($company->user)

{{ ($company->user->salutation ? $company->user->salutation->label() . ' ' : '') . $company->user->name }} @if(global_setting()->email_verification) @if(is_null($company->user->userAuth->email_verified_at)) @else @endif @endif

@if ($company->user->country)

{{ $company->user->country->nicename }}

@endif

@lang('app.lastLogin') @if (!is_null($company->user->last_login)) {{ $company->user->last_login->timezone(global_setting()->timezone)->translatedFormat(global_setting()->date_format . ' ' . global_setting()->time_format) }} @else -- @endif

@else
There is no active company admin for this company
@endif

@lang('superadmin.package'): {{ $company->package->name }}

@lang('superadmin.licenceExpiresOn') @if (!is_null($company->licence_expire_on)) {{ \Carbon\Carbon::parse($company->licence_expire_on)->timezone(global_setting()->timezone)->translatedFormat(global_setting()->date_format) }} ({{ \Carbon\Carbon::parse($company->licence_expire_on)->diffForHumans() }}) @else -- @endif

@if($updateCompanyPackagePermission == 'all') @lang('app.update') @lang('superadmin.package') @endif @if($manageCompanyImpersonatePermission == 'all') @endif

{{ __('modules.accountSettings.companyWebsite') }}

{{ $company->website }}

@if (module_enabled('Subdomain'))

Subdomain

@if($company->sub_domain) @else

{{__('superadmin.subdomainNotAdded')}}

@endif
@endif

@lang('app.status')

@if ($company->status == 'active') @else @endif {{ str_replace('_', ' ', $company->status) }}

@if (global_setting()->company_need_approval)

@lang('app.approved')

@if ($company->approved == 1) @lang('app.yes') @else @lang('app.no') @endif

@endif @if (!is_null($company->approved_by))

@lang('superadmin.companies.approvedChangedBy')

{{ $company->approvalBy->name }}
{!! $company->approvalBy->userBadge() !!}
@endif
@php $storage = __('superadmin.notUsed'); if ($company->file_storage_count && $company->file_storage_sum_size) { if ($company->package->storage_unit == 'mb') { $storage = \App\Models\SuperAdmin\Package::bytesToMB($company->file_storage_sum_size) . ' ' . __('superadmin.mb'); } else { $storage = \App\Models\SuperAdmin\Package::bytesToGB($company->file_storage_sum_size) . ' ' . __('superadmin.gb'); } } $maxStorage = __('superadmin.unlimited'); if ($company->package->max_storage_size != -1) { $maxStorage = $company->package->max_storage_size . ' ' . strtoupper($company->package->storage_unit); } @endphp @lang('app.menu.employees') {{ $company->employees_count . ' / ' . $company->package->max_employees }} @lang('superadmin.storage') {{ $storage . ' / ' . $maxStorage }} @lang('app.menu.clients') {{ $company->clients_count }} @lang('app.menu.invoices') {{ $company->invoices_count }} @lang('app.menu.estimates') {{ $company->estimates_count }} @lang('app.menu.projects') {{ $company->projects_count }} @lang('app.menu.tasks') {{ $company->tasks_count }} @lang('app.menu.leads') {{ $company->leads_count }} @lang('app.menu.orders') {{ $company->orders_count }} @lang('app.menu.tickets') {{ $company->tickets_count }} @lang('app.menu.contracts') {{ $company->contracts_count }}