61 lines
2.3 KiB
PHP
61 lines
2.3 KiB
PHP
@extends('adminlte::page')
|
|
|
|
@section('content_header')
|
|
<h1>Lista dei conti</h1>
|
|
@endsection
|
|
|
|
@section('content')
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="card">
|
|
<div class="card-header">
|
|
<h3 class="card-title">Lista dei conti</h3>
|
|
</div>
|
|
<!-- /.card-header -->
|
|
<div class="card-body">
|
|
<table id="example1" class="table table-bordered table-striped">
|
|
<thead>
|
|
<tr>
|
|
<th>Nome Conto</th>
|
|
<th>Banca</th>
|
|
<th>IBAN</th>
|
|
<th>Saldo iniziale</th>
|
|
<th>Note</th>
|
|
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach ($conto as $contos)
|
|
<tr>
|
|
<td>{{ $contos->nomeConto }}</td>
|
|
<td>{{ $contos->Banca }}</td>
|
|
<td>{{ $contos->IBAN }}</td>
|
|
<td>{{ $contos->saldo_iniziale }}</td>
|
|
<td>{{ $contos->note }}</td>
|
|
|
|
</tr>
|
|
@endforeach
|
|
</tbody>
|
|
<tfoot>
|
|
<tr>
|
|
<th>Nome</th>
|
|
<th>Saldo iniziale</th>
|
|
<th>Entrate</th>
|
|
<th>Uscite</th>
|
|
<th>Saldo anno {{ date('Y') }}</th>
|
|
<th>Saldo anno {{ date('Y') - 1 }}</th>
|
|
<th>Saldo anno {{ date('Y') - 2 }}</th>
|
|
<th><button type="button" class="btn btn-block btn-primary">Modifica</button> <button type="button" class="btn btn-block btn-danger">Elimina</button></th>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
</div>
|
|
<!-- /.card-body -->
|
|
</div>
|
|
<!-- /.card -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endsection
|