@if (Auth::user())
@if (Gate::allows('is-supervisor'))
Rolle:
{!! Form::select('change-role', ['admin' => 'Zentrale Administration', 'user' => 'Dezentrale Administration'], Helper::getRole(), ['id' => 'change-role', 'class' => 'form-control']) !!}
@endif @if ((Gate::allows('is-supervisor') && Gate::allows('user-mode')) || Gate::allows('is-editor') || Gate::allows('user-switch-filiale'))
Filiale:
{!! Form::select('change-filiale', Helper::availableFiliale(), Auth::user()->workgroup_id, ['id' => 'change-filiale', 'class' => 'form-control']) !!}
@endif
ausstehende
Freigaben
{{ Helper::getApprovalRequestCount() }}
@if (Gate::denies('admin-mode'))
notifications
{{ Helper::countUnreadAlerts() }}
@endif
{{ Helper::getUsername(Auth::user()->id) }}
account_circle
keyboard_arrow_down
@if (Gate::allows('is-supervisor') && in_array(Auth::user()->personalnummer, Helper::screentimeUsers()))
Switch User
{{ csrf_field() }}
@endif
Logout
{{ csrf_field() }}
Vorlagen-Nr. suchen:
{!! Form::open(['route' => 'search-preset', 'class' => 'preset-search-box', 'accept-charset' => 'UTF-8']) !!}
search
{!! Form::text('search', null, ['id' => 'search', 'required' => 'required']) !!} {!! Form::close() !!}
@endif
@yield('content')
@yield('back_button')
{!! Form::hidden('baseURL', URL::to('/'), ['id' => 'baseURL']) !!}