@extends('layouts.app') @php $action = Request::segments()[1]; $moduleName = __('lang.attendance'); $createItemName = __('lang.bulk_upload') . $moduleName; $breadcrumbCurrentName = __('lang.bulk_upload'); $breadcrumbMainName = $moduleName; $breadcrumbMainIcon = 'account_balance_wallet'; $breadcrumbCurrentIcon = 'add_box'; @endphp @section('title') {{ $moduleName }}->{{ $createItemName }} @stop @section('top-bar') @include('includes.top-bar') @stop @section('left-sidebar') @include('includes.left-sidebar') @stop @section('content')

{{ __('lang.instructions_for_bulk_upload') }} {{ $moduleName }}


  • {{ __('lang.employee_name_entered_in_excel_file_should_exist_in_the_system')}}
  • {{ __('lang.date_format_entered_in_excel_file_should_be_like_01_feb_2021') }}
  • {{ __('lang.check_sample_excel_file_format_mentioned_below_and_put_your_data_accordingly') }}



{{ __('lang.bulk_import_attendance') }}


@csrf


{{ __('lang.please_check_sample_file') }} {{ __('lang.download') }}


@if (count($data ?? []) > 0)
{{ csrf_field() }} @php unset($data[0]) @endphp @foreach ($data as $item) @php $employee_name = $item[0]; $phone_no = $item[1]; $date = $item[2]; $in = $item[3]; $out = $item[4]; $status = $item[5]; $data_arr = [ 'row' => $loop->iteration + 1, 'employee_name' => $employee_name, 'phone_no' => $phone_no, 'date' => $date, 'in' => $in, 'out' => $out, 'status' => $status, ]; @endphp @endforeach
{{ __('lang.employee_name') }} {{ __('lang.phone_no') }} {{ __('lang.date') }} {{ __('lang.check_in_time') }} {{ __('lang.check_out_time') }} {{ __('lang.present_absent') }}
{{ $employee_name }} {{ $phone_no }} {{ $date }} {{ $in }} {{ $out }} {{ $status }}
{{ __('lang.employee_name') }} {{ __('lang.phone_no') }} {{ __('lang.date') }} {{ __('lang.check_in_time') }} {{ __('lang.check_out_time') }} {{ __('lang.present_absent') }}
@endif
@endsection @push('include-css') @endpush @push('include-js') @endpush