26 lines
853 B
PHP
26 lines
853 B
PHP
@extends('adminlte::page')
|
|
|
|
@section('content_header')
|
|
<h3> Mappa i campi </h3>
|
|
@endsection
|
|
|
|
@section('content')
|
|
<form action="{{ route('conti.map.store') }}" method="POST">
|
|
@csrf
|
|
@foreach ($csv as $header)
|
|
<label>{{ $header }}</label>
|
|
<select name="mapping[{{ $header }}]">
|
|
<option value="">--Nessuno o Selezionare una colonna--</option>
|
|
<option value="mov_data">Data Movimento</option>
|
|
<option value="mov_desc">Descrizione</option>
|
|
<option value="mov_importo">Importo</option>
|
|
<option value="mov_fk_categoria">ID Categoria</option>
|
|
<option value="mov_fk_tag">ID Tag</option>
|
|
<option value="mov_fk_conto">ID Conto</option>
|
|
</select>
|
|
@endforeach
|
|
<input type="hidden" name="filename" value="{{ $filename .".csv" }}">
|
|
<button type="submit">Salva</button>
|
|
</form>
|
|
@endsection
|