@extends('layouts/default') {{-- Page title --}} @section('title') {{ trans('general.import-history') }} @parent @stop @section('header_right') {{ trans('general.back') }} @stop {{-- Page content --}} @section('content') @if (isset($status)) @if (count($status['error']) > 0)
{{ count($status['error']) }} {{ trans('admin/hardware/general.error_messages') }} {{ trans('admin/hardware/general.alert_details') }}
@endif
{{ count($status['success']) }} {{ trans('admin/hardware/general.success_messages') }} {{ trans('admin/hardware/general.alert_details') }}
@endif
@if (Session::get('message'))

{{ trans('admin/hardware/general.csv_error') }}
{{ Session::get('message') }}

@endif {!! trans('admin/hardware/general.import_text') !!}
@if (config('app.lock_passwords')===true)

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

@endif
{{ Form::checkbox('match_firstnamelastname', '1', Request::old('match_firstnamelastname')) }} {{ trans('admin/hardware/general.csv_import_match_f-l') }}
{{ Form::checkbox('match_flastname', '1', Request::old('match_flastname')) }} {{ trans('admin/hardware/general.csv_import_match_initial_last') }}
{{ Form::checkbox('match_firstname', '1', Request::old('match_firstname')) }} {{ trans('admin/hardware/general.csv_import_match_first') }}
{{ Form::checkbox('match_email', '1', Request::old('match_email')) }} {{ trans('admin/hardware/general.csv_import_match_email') }}
{{ Form::checkbox('match_username', '1', Request::old('match_username')) }} {{ trans('admin/hardware/general.csv_import_match_username') }}
@if (isset($status)) @if (count($status['error']) > 0)

{{ count($status['error']) }} {{ trans('admin/hardware/general.error_messages') }}

@for ($x = 0; $x < count($status['error']); $x++) @foreach($status['error'][$x] as $object_type => $message) @endforeach @endfor
{{ ucwords($object_type) }} {{ key($message) }}: {{ $message[key($message)]['msg'] }}
@endif @if (count($status['success']) > 0)

{{ count($status['success']) }} {{ trans('admin/hardware/general.success_messages') }}

@for ($x = 0; $x < count($status['success']); $x++) @foreach($status['success'][$x] as $object_type => $message) @endforeach @endfor
{{ ucwords($object_type) }} {{ key($message) }}: {{ $message[key($message)]['msg'] }}
@endif @endif
@stop