@extends('layouts/default') {{-- Page title --}} @section('title') {!! trans('general.merge_users') !!} @parent @stop {{-- Page content --}} @section('content')

{{ trans('general.merge_information', array('count' => count($users))) }}

{{csrf_field()}}
{{ trans('general.warning_merge_information') }}
@if (config('app.lock_passwords'))

{{ trans('general.feature_disabled') }}

@endif
@foreach ($users as $user) isSuperUser() ? ' class="danger"':'') !!}> @endforeach
{{ trans('general.name') }} {{ trans('general.email') }} {{ trans('general.username') }} {{ trans('general.employee_number') }} {{ trans('general.groups') }} {{ trans('general.assets') }} {{ trans('general.accessories') }} {{ trans('general.licenses') }} {{ trans('general.consumables') }} {{ trans('general.files') }}
{{ $user->email }} {{ $user->username }} {{ $user->employee_num }} @foreach ($user->groups as $group) {{ $group->name }}   @endforeach {{ number_format($user->assets->count()) }} {{ number_format($user->accessories->count()) }} {{ number_format($user->licenses->count()) }} {{ number_format($user->consumables->count()) }} {{ number_format($user->uploads->count()) }}
@foreach ($users as $user) @endforeach
@stop @section('moar_scripts') @if (!(config('app.lock_passwords'))) @endif @stop