@extends('app-new') @push('content-header') @endpush @section('content')

Import PIB Master

{!! Form::open(['url'=>'/'.$alias.'/pib-masters/bulk-upload','files'=>true ]) !!}
{!! Form::file('file',[ 'class'=>'form-control', 'required', 'accept'=>'.xlsx,.xls,.csv' ]) !!}
{!! Form::close() !!}
{{--

Instructions

  • Download the sample file first.
  • Do not change column names.
  • Department must already exist.
  • Item Code can be new or existing.
  • Operation can be new or existing.
  • Status should be active or inactive.
  • Duplicate records will be skipped.
--}}
@if(session('failedEntries'))

Failed Records

@foreach(session('failedEntries') as $row) @endforeach
Department Item Code Item Name Operation Error
{{ $row['department'] ?? '-' }} {{ $row['item_code'] ?? '-' }} {{ $row['item_name'] ?? '-' }} {{ $row['operation'] ?? '-' }} {{ $row['message'] }}
@endif @endsection