@extends('layout.v2') @section('content')

{{ $mainTitle }}

{{ $subTitle }}

Set up the meaning of each column in your file.

Each column in your importable file has a role, it contains a specific type of content. By configuring these roles here, you tell the importer how to approach and treat the data in each column. Read the documentation to learn more about this process.

Make sure you map at least, or the import will fail:

  • Amount
  • Transaction date
@if(!$errors->isEmpty())
Errors :(

Some error(s) occurred:

    @foreach($errors->all() as $error)
  • {{ $error }}
  • @endforeach

Some of these errors can be ignored. To try again pretending nothing of this ever happened, please select the checkbox below. You may still see errors, those you won't be able to skip.

@endif @if('' !== $warning)
@endif
Role configuration
@if($configuration->hasPseudoIdentifier()) @php $pseudoIdentifier = $configuration->getPseudoIdentifier(); @endphp @endif @foreach($columns as $index => $column) @php // Check if this column is part of the pseudo identifier (for display purposes) $isInPseudoIdentifier = false; if ($configuration->hasPseudoIdentifier()) { $pseudoIdentifier = $configuration->getPseudoIdentifier(); if (in_array($index, $pseudoIdentifier['source_columns'] ?? [], true)) { $isInPseudoIdentifier = true; } } @endphp @endforeach
Column Example data Role Map data?
{{ __('import.pseudo_identifier_label') }}
{{ __('import.pseudo_identifier_badge') }}
{{ __('import.pseudo_identifier_combines') }} {{ implode(', ', $pseudoIdentifier['source_columns']) }}
@if(count($pseudoExamples) > 0) @foreach($pseudoExamples as $example)
{{ $example['raw'] }}
@endforeach @endif

{{ __('import.pseudo_identifier_locked_to') }} {{ $pseudoIdentifier['role'] ?? 'unknown' }}

 
{{ $column }} @if($isInPseudoIdentifier)
{{ __('import.pseudo_identifier_used_in') }} @endif
@if(count($examples[$index] ?? []) > 0) @foreach($examples[$index] as $example)
{{ $example }}
@endforeach @endif
@if(!$errors->isEmpty())
@endif
@endsection