issue #8: sistemato quanto riportato nella issue
This commit is contained in:
@@ -30,10 +30,10 @@ table{
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Content here -->
|
||||
|
||||
|
||||
<span class="titolo"><h1>Scheda {{ $dettagli->marca; }} {{ $dettagli->modello; }} - {{ $dettagli->targa; }}</h1></span>
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
@@ -41,14 +41,14 @@ table{
|
||||
<div class="panel-heading">
|
||||
Dettaglio
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="intestazione_doc" id="">
|
||||
<tr>
|
||||
<th>Marca:</th><td>{{ $dettagli->marca; }}</td>
|
||||
<th>Modello:</th><td>{{ $dettagli->modello; }}</td>
|
||||
<th>Targa:</th> <td>{{ $dettagli->targa; }}</td>
|
||||
|
||||
|
||||
</tr>
|
||||
<tr>
|
||||
<th>Alimentazione:</th><td>{{ $dettagli->alimentazione; }}</td>
|
||||
@@ -78,10 +78,10 @@ table{
|
||||
<div class="panel-heading">
|
||||
Revisioni
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="revisione">
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
@@ -97,7 +97,7 @@ table{
|
||||
@foreach($operazione as $operazioni)
|
||||
@if ($operazioni->type =='revisione')
|
||||
<tr>
|
||||
<td>{{ $operazioni->data; }}</td>
|
||||
<td>{{ date_format(date_create($operazioni->data),'d/m/Y'); }}</td>
|
||||
<td>{{ $operazioni->km; }}</td>
|
||||
<td>{{ $revisione[$operazioni->id][0]->superata; }}</td>
|
||||
<td>{{ $revisione[$operazioni->id][0]->centrorevisione; }}</td>
|
||||
@@ -108,7 +108,7 @@ table{
|
||||
@endif
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -116,18 +116,18 @@ table{
|
||||
</div>
|
||||
</div>
|
||||
<!-- Fine Revisioni -->
|
||||
<br><hr>
|
||||
<br><hr>
|
||||
<!-- Manutenzioni -->
|
||||
<div class="row">
|
||||
<div class="col-lg-12">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
Manutenzione
|
||||
Manutenzione
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="manutenzione">
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
@@ -140,7 +140,7 @@ table{
|
||||
@foreach($operazione as $operazioni)
|
||||
@if ($operazioni->type =='manutenzione')
|
||||
<tr>
|
||||
<td>{{ $operazioni->data; }}</td>
|
||||
<td>{{ date_format(date_create($operazioni->data),'d/m/Y'); }}</td>
|
||||
<td>{{ $operazioni->km; }}</td>
|
||||
<td>{{ $manutenzione[$operazioni->id][0]->descrizione; }}</td>
|
||||
<td>{{ $operazioni->importo; }}</td>
|
||||
@@ -148,7 +148,7 @@ table{
|
||||
@endif
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -164,10 +164,10 @@ table{
|
||||
<div class="panel-heading">
|
||||
Accessori/Ricambi
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="accessori">
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
@@ -180,7 +180,7 @@ table{
|
||||
@foreach($operazione as $operazioni)
|
||||
@if ($operazioni->type=='accessori')
|
||||
<tr>
|
||||
<td>{{ $operazioni->data; }}</td>
|
||||
<td>{{ date_format(date_create($operazioni->data),'d/m/Y'); }}</td>
|
||||
<td>{{ $operazioni->km; }}</td>
|
||||
<td>{{ $accessori[$operazioni->id][0]->descrizione; }}</td>
|
||||
<td>{{ $operazioni->importo; }}</td>
|
||||
@@ -188,7 +188,7 @@ table{
|
||||
@endif
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -204,10 +204,10 @@ table{
|
||||
<div class="panel-heading">
|
||||
Rifornimenti
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="panel-body">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-hover" id="">
|
||||
|
||||
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
@@ -222,7 +222,7 @@ table{
|
||||
@foreach($operazione as $operazioni)
|
||||
@if ($operazioni->type =='rifornimento')
|
||||
<tr>
|
||||
<td>{{ $operazioni->data; }}</td>
|
||||
<td>{{ date_format(date_create($operazioni->data),'d/m/Y'); }}</td>
|
||||
<td>{{ $operazioni->km; }}</td>
|
||||
<td>{{ $rifornimento[$operazioni->id][0]->distributore; }}</td>
|
||||
<td>{{ $rifornimento[$operazioni->id][0]->eurolitro; }}</td>
|
||||
@@ -232,7 +232,7 @@ table{
|
||||
@endif
|
||||
@endforeach
|
||||
</tbody>
|
||||
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user