2024-09-25 12:29:23 -07:00
|
|
|
@can('view', \App\Models\User::class)
|
|
|
|
<div id="userBulkEditToolbar">
|
2022-06-05 20:13:51 -07:00
|
|
|
{{ Form::open([
|
2022-06-05 18:08:15 -07:00
|
|
|
'method' => 'POST',
|
|
|
|
'route' => ['users/bulkedit'],
|
|
|
|
'class' => 'form-inline',
|
2022-06-05 20:13:51 -07:00
|
|
|
'id' => 'usersBulkForm']) }}
|
2022-06-05 18:08:15 -07:00
|
|
|
|
2024-09-25 12:29:23 -07:00
|
|
|
@if (request('status')!='deleted')
|
2024-09-25 12:30:58 -07:00
|
|
|
<div id="users-toolbar">
|
|
|
|
<label for="bulk_actions" class="sr-only">{{ trans('general.bulk_actions') }}</label>
|
|
|
|
<select name="bulk_actions" class="form-control select2" style="min-width:300px;" aria-label="bulk_actions">
|
2024-09-25 12:29:23 -07:00
|
|
|
|
2024-09-25 12:30:58 -07:00
|
|
|
@can('update', \App\Models\User::class)
|
|
|
|
<option value="edit">{{ trans('general.bulk_edit') }}</option>
|
|
|
|
@endcan
|
2024-09-25 12:29:23 -07:00
|
|
|
|
2024-09-25 12:30:58 -07:00
|
|
|
@can('delete', \App\Models\User::class)
|
|
|
|
<option value="delete">{!! trans('general.bulk_checkin_delete') !!}</option>
|
2024-09-25 12:32:03 -07:00
|
|
|
<option value="merge">{!! trans('general.merge_users') !!}</option>
|
2024-09-25 12:30:58 -07:00
|
|
|
@endcan
|
2024-09-25 12:29:23 -07:00
|
|
|
|
2024-09-25 12:30:58 -07:00
|
|
|
<option value="bulkpasswordreset">{{ trans('button.send_password_link') }}</option>
|
|
|
|
<option value="print">{{ trans('admin/users/general.print_assigned') }}</option>
|
|
|
|
</select>
|
|
|
|
<button class="btn btn-primary" id="bulkUserEditButton" disabled>{{ trans('button.go') }}</button>
|
|
|
|
</div>
|
2024-09-25 12:29:23 -07:00
|
|
|
@endif
|
|
|
|
{{ Form::close() }}
|
|
|
|
</div>
|
|
|
|
@endcan
|