effettuato modifiche per mappatura campi [BUG] non trova il file
This commit is contained in:
27
resources/views/conti/importGen.blade.php
Normal file
27
resources/views/conti/importGen.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h1>Importazione Estratto conto Generico</h1>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
|
||||
<div class="container">
|
||||
<!-- Content here -->
|
||||
<div class="row">
|
||||
<div class="col-lg-10">
|
||||
<form action="" method="POST" enctype='multipart/form-data'>
|
||||
@csrf
|
||||
<div class="mb-3">
|
||||
<label for="file" class="form-label">File</label>
|
||||
<input type="file" class="form-control" id="file" name="filename">
|
||||
</div>
|
||||
<div class="mb-3">
|
||||
<button type="submit" class="btn btn-primary">Submit</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
25
resources/views/conti/importGeneric.blade.php
Normal file
25
resources/views/conti/importGeneric.blade.php
Normal file
@@ -0,0 +1,25 @@
|
||||
@extends('adminlte::page')
|
||||
|
||||
@section('content_header')
|
||||
<h3> Mappa i campi </h3>
|
||||
@endsection
|
||||
|
||||
@section('content')
|
||||
<form action="" 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 }}">
|
||||
<button type="submit">Salva</button>
|
||||
</form>
|
||||
@endsection
|
||||
Reference in New Issue
Block a user