initial commit of full repository
This commit is contained in:
86
resources/views/conti/report/list.blade.php
Normal file
86
resources/views/conti/report/list.blade.php
Normal file
@@ -0,0 +1,86 @@
|
||||
@extends('admin')
|
||||
@section('content')
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<h1 class="page-header">Rapporto dei movimenti</h1>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
Rapporto spese per categoria
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@section('chart_divS')
|
||||
@show
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="listrapportoS">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Categoria</th>
|
||||
<th>Somma delle spese</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach( $dataSpesa as $dato )
|
||||
<tr>
|
||||
<td>{{ $dato->cat_name; }}</td>
|
||||
<td>{{ $dato->resoconto; }}</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
Rapporto entrate per categoria
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
@section('chart_divE')
|
||||
@show
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="listrapportoE">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Categoria</th>
|
||||
<th>Somma delle spese</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach( $dataEntrate as $dato )
|
||||
<tr>
|
||||
<td>{{ $dato->cat_name; }}</td>
|
||||
<td>{{ $dato->resoconto; }}</td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@section('script')
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
$('#listrapportoS').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
});
|
||||
$(document).ready(function() {
|
||||
$('#listrapportoE').DataTable({
|
||||
responsive: true
|
||||
});
|
||||
});
|
||||
</script>
|
||||
@endsection
|
||||
|
||||
Reference in New Issue
Block a user