芝麻web文件管理V1.00
编辑当前文件:/home/qrafawbu/qrafiqxcreativeagency.com/accounts/office/resources/views/sections/topbar.blade.php
@if (in_array('admin', user_roles()) && $checkListCompleted < $checkListTotal && App::environment('codecanyon') && isWorksuite())
@lang('modules.accountSettings.setupProgress')
{{ $checkListCompleted }}/{{ $checkListTotal }}
@endif
@if(isset($selfActiveTimer)) @include('sections.timer_clock', ['selfActiveTimer' => $selfActiveTimer]) @endif
{{-- WORKSUITESAAS --}} @if(isWorksuiteSaas()) @if(session('impersonate'))
@lang('superadmin.stopImpersonation')
@endif {{-- WORKSUITESAAS --}} @if (in_array(company()->package->default, ['yes']) && in_array('admin', user_roles()))
@if (is_null($selfActiveTimer)) {{ __('superadmin.packages.upgradePlan') }} @endif
@elseif (in_array(company()->package->default, ['trial']) && in_array('admin', user_roles()))
@php $daysLeftInTrial = now(company()->timezone)->diffInDays(\Carbon\Carbon::parse(company()->licence_expire_on)->addDays(1), false); @endphp
($daysLeftInTrial >= 0), 'text-danger' => ($daysLeftInTrial < 0)])>
@if (is_null($selfActiveTimer)) {{ ($daysLeftInTrial > 0) ? $daysLeftInTrial . ' ' . __('superadmin.packages.daysLeftTrial') : __('superadmin.packages.trialExpired') }} @endif
@endif @endif
@if (checkCompanyPackageIsValid(user()->company_id))
@if (!in_array('client', user_roles())) @if (in_array('timelogs', user_modules()) && (add_timelogs_permission() == 'all' || add_timelogs_permission() == 'added' || manage_active_timelogs() == 'all'))
{{ $activeTimerCount }}
@if ($activeTimerCount == 0)
@lang("modules.timeLogs.startTimer")
@endif
@endif
@if (in_array('projects', user_modules()) && (add_project_permission() == 'all' || add_project_permission() == 'added'))
@lang('app.addProject')
@endif @if (in_array('tasks', user_modules()) && (add_tasks_permission() == 'all' || add_tasks_permission() == 'added'))
@lang('app.addTask')
@endif @if (in_array('clients', user_modules()) && (add_clients_permission() == 'all' || add_clients_permission() == 'added'))
@lang('app.addClient')
@endif @if (in_array('employees', user_modules()) && (add_employees_permission() == 'all' || add_employees_permission() == 'added'))
@lang('app.addEmployee')
@endif @if (in_array('payments', user_modules()) && (add_payments_permission() == 'all' || add_payments_permission() == 'added'))
@lang('modules.payments.addPayment')
@endif @if (in_array('tickets', user_modules()) && (add_tickets_permission() == 'all' || add_tickets_permission() == 'added'))
@lang('modules.tickets.addTicket')
@endif
@endif
@if ($unreadNotificationCount > 0)
{{ $unreadNotificationCount }}
@endif
@lang('app.newNotifications')
@if ($unreadNotificationCount > 0)
@lang('app.markRead')
|
@lang('app.showAll')
@endif
@if($unreadNotificationCount > 6)
@lang('app.showAll')
@endif
@endif
@csrf