Merge branch 'master' of github.com:akaunting/akaunting into 2.1-dev
# Conflicts: # app/Http/Controllers/Common/Items.php # resources/views/modules/item/documentation.blade.php # resources/views/modules/item/show.blade.php # resources/views/partials/admin/header.blade.php # resources/views/purchases/bills/show.blade.php # resources/views/purchases/vendors/show.blade.php # resources/views/sales/customers/show.blade.php # resources/views/sales/invoices/show.blade.php # resources/views/wizard/companies/edit.blade.php # resources/views/wizard/currencies/index.blade.php # resources/views/wizard/finish/index.blade.php # resources/views/wizard/taxes/index.blade.php
This commit is contained in:
@ -27,7 +27,7 @@
|
||||
|
||||
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), setting('default.locale')) }}
|
||||
|
||||
{{ Form::selectGroup('landing_page', trans('auth.landing_page'), 'sign-in-alt', $routes, 'dashboard') }}
|
||||
{{ Form::selectGroup('landing_page', trans('auth.landing_page'), 'sign-in-alt', $landing_pages, 'dashboard') }}
|
||||
|
||||
@if (setting('default.use_gravatar', '0') == '1')
|
||||
@stack('picture_input_start')
|
||||
@ -48,7 +48,7 @@
|
||||
@endif
|
||||
|
||||
@permission('read-common-companies')
|
||||
{{ Form::checkboxGroup('companies', trans_choice('general.companies', 2), $companies, 'name') }}
|
||||
{{ Form::multiSelectRemoteGroup('companies', trans_choice('general.companies', 2), 'user', $companies, [], ['required' => 'required', 'remote_action' => route('companies.autocomplete'), 'remote_type' => 'company']) }}
|
||||
@endpermission
|
||||
|
||||
@permission('read-auth-roles')
|
||||
@ -68,6 +68,15 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('stylesheet')
|
||||
<style type="text/css">
|
||||
.el-select .el-select__tags > span {
|
||||
display: flex;
|
||||
margin-bottom: -75px;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts_start')
|
||||
<script src="{{ asset('public/js/auth/users.js?v=' . version('short')) }}"></script>
|
||||
@endpush
|
||||
|
@ -28,7 +28,7 @@
|
||||
|
||||
{{ Form::selectGroup('locale', trans_choice('general.languages', 1), 'flag', language()->allowed(), $user->locale) }}
|
||||
|
||||
{{ Form::selectGroup('landing_page', trans('auth.landing_page'), 'sign-in-alt', $routes, $user->landing_page) }}
|
||||
{{ Form::selectGroup('landing_page', trans('auth.landing_page'), 'sign-in-alt', $landing_pages, $user->landing_page) }}
|
||||
|
||||
@if (setting('default.use_gravatar', '0') == '1')
|
||||
@stack('picture_input_start')
|
||||
@ -49,7 +49,7 @@
|
||||
@endif
|
||||
|
||||
@permission('read-common-companies')
|
||||
{{ Form::checkboxGroup('companies', trans_choice('general.companies', 2), $companies, 'name') }}
|
||||
{{ Form::multiSelectRemoteGroup('companies', trans_choice('general.companies', 2), 'user', $companies, $user->company_ids, ['required' => 'required', 'remote_action' => route('companies.autocomplete'), 'remote_type' => 'company']) }}
|
||||
@endpermission
|
||||
|
||||
@permission('read-auth-roles')
|
||||
@ -60,7 +60,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@permission('update-auth-users')
|
||||
@permission(['update-auth-users', 'update-auth-profile'])
|
||||
<div class="card-footer">
|
||||
<div class="row save-buttons">
|
||||
{{ Form::saveButtons('users.index') }}
|
||||
@ -71,6 +71,15 @@
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@push('stylesheet')
|
||||
<style type="text/css">
|
||||
.el-select .el-select__tags > span {
|
||||
display: flex;
|
||||
margin-bottom: -75px;
|
||||
}
|
||||
</style>
|
||||
@endpush
|
||||
|
||||
@push('scripts_start')
|
||||
<script src="{{ asset('public/js/auth/users.js?v=' . version('short')) }}"></script>
|
||||
@endpush
|
||||
|
@ -54,11 +54,11 @@
|
||||
<td class="col-xs-4 col-sm-3 col-md-2 col-lg-3">
|
||||
<a class="col-aka" href="{{ route('users.edit', $item->id) }}">
|
||||
@if (setting('default.use_gravatar', '0') == '1')
|
||||
<img src="{{ $item->picture }}" alt="{{ $item->name }}" title="{{ $item->name }}">
|
||||
<img src="{{ $item->picture }}" alt="{{ $item->name }}" class="rounded-circle user-img p-1 mr-3 hidden-md" title="{{ $item->name }}">
|
||||
@elseif (is_object($item->picture))
|
||||
<img src="{{ Storage::url($item->picture->id) }}" class="rounded-circle user-img p-1 mr-3 hidden-md" alt="{{ $item->name }}" title="{{ $item->name }}">
|
||||
@else
|
||||
@if ($item->picture)
|
||||
<img src="{{ Storage::url($item->picture->id) }}" alt="{{ $item->name }}" title="{{ $item->name }}">
|
||||
@endif
|
||||
<img src="{{ asset('public/img/user.svg') }}" class="user-img p-1 mr-3 hidden-md" alt="{{ $item->name }}"/>
|
||||
@endif
|
||||
{{ $item->name }}
|
||||
</a>
|
||||
|
Reference in New Issue
Block a user