@extends('layouts.master') @section('title', 'Fingerprint Import') @section('style') @endsection @section('script') @endsection @section('content') @include('layouts.header') @include('layouts.header-sub') @yield('title') {{ csrf_field() }} File Import : (.xlsx only) sample file Browse @if(!empty($data)) @php $error_array = array() @endphp @foreach($data as $key=>$new_data) @if(FingerprintController::get_user_barcode($new_data->user) == '') @php $error_array[] = 'Please check member barcode.' @endphp @endif @endforeach @if(count($error_array) == 0 and count($data) != 0) @else @php $error_array = array_unique($error_array) @endphp @foreach($error_array as $error) {{ $error }} @endforeach @endif @endif @if(!empty($data)) No. User Datetime Counter @foreach($data as $key=>$new_data) {{ ++$key }} {{ $new_data->user }} {{ $new_data->datetime }} {{ $new_data->counter }} @endforeach @endif @include('layouts.footer') @endsection