Effettuato modifiche al report annuale e alla lista movimenti per problema ISSUE#3
This commit is contained in:
@@ -13,12 +13,14 @@
|
||||
<h3 class="card-title">Regole di Importazione</h3>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<table class="table table-bordered">
|
||||
<table class="table table-bordered" id="importRulesTable">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Pattern</th>
|
||||
<th>Descrizione</th>
|
||||
<th>Categoria</th>
|
||||
|
||||
<th>Azioni</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -28,6 +30,7 @@
|
||||
<td>{{ $rule->id }}</td>
|
||||
<td>{{ $rule->pattern }}</td>
|
||||
<td>{{ $rule->description }}</td>
|
||||
<td>{{ \App\Models\Categorie::find($rule->category_id)->cat_name ?? 'N/A' }}</td>
|
||||
<td>
|
||||
<a href="{{ route('import_rules.edit', $rule->id) }}" class="btn btn-primary btn-sm">Modifica</a>
|
||||
<form action="{{ route('import_rules.destroy', $rule->id) }}" method="POST" style="display:inline;">
|
||||
@@ -47,3 +50,16 @@
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
|
||||
@section('js')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#importRulesTable').DataTable({
|
||||
responsive: true,
|
||||
|
||||
order: [[0, "desc"]]
|
||||
});
|
||||
// $('.select2').select2();
|
||||
});
|
||||
</script>
|
||||
@endsection')
|
||||
|
||||
Reference in New Issue
Block a user