effettuato alcune modifiche per capire cosa non va nell'upload dei contatti... da rivedere domani
This commit is contained in:
@@ -86,61 +86,61 @@
|
||||
<div class="row">
|
||||
<div class="col-xs-10"> </div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
<div class="row p-3">
|
||||
@if($progetto->stato !='chiuso')<button class="btn btn-primary open_modal_addRow">Nuova riga</button>@endif
|
||||
|
||||
<div class="row">
|
||||
<div class="col-xs-10">
|
||||
<div class="row p-3">
|
||||
@if($progetto->stato !='chiuso')<button class="btn btn-primary open_modal_addRow">Nuova riga</button>@endif
|
||||
</div>
|
||||
<div class="row">
|
||||
<table class="table table-striped table-bordered table-hover"
|
||||
id="tab_progetti">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
<th>Descrizione</th>
|
||||
<th>Ore lavoro</th>
|
||||
<th>Costo</th>
|
||||
<th>Azioni</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($righe as $riga) @if(isset($riga->data))
|
||||
<tr>
|
||||
<td>{{ date('d/m/Y',strtotime($riga->data)) }}</td>
|
||||
<td>{{ $riga->descrizione }}</td>
|
||||
<td>{{ $riga->ore }}</td>
|
||||
<td>{{ $riga->prezzo }}</td>
|
||||
<td>@if($progetto->stato !='chiuso')<a
|
||||
href="/admin/progetti/delete_row/{{ $riga->id }}/return/{{ $progetto->id }}"
|
||||
class="btn btn-danger">X</a>
|
||||
<button class="btn btn-warning btn-detail open_modal"
|
||||
value="{{$riga->id}}">Edit</button>@endif</td>
|
||||
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
</tr>
|
||||
@endif @endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><strong>Totale</strong></td>
|
||||
<td></td>
|
||||
<td><strong>{{ $totale->costo}} €</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
<div class="row">
|
||||
<table class="table table-striped table-bordered table-hover"
|
||||
id="tab_progetti">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Data</th>
|
||||
<th>Descrizione</th>
|
||||
<th>Ore lavoro</th>
|
||||
<th>Costo</th>
|
||||
<th>Azioni</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($righe as $riga) @if(isset($riga->data))
|
||||
<tr>
|
||||
<td>{{ date('d/m/Y',strtotime($riga->data)) }}</td>
|
||||
<td>{{ $riga->descrizione }}</td>
|
||||
<td>{{ $riga->ore }}</td>
|
||||
<td>{{ $riga->prezzo }}</td>
|
||||
<td>@if($progetto->stato !='chiuso')<a
|
||||
href="/admin/progetti/delete_row/{{ $riga->id }}/return/{{ $progetto->id }}"
|
||||
class="btn btn-danger">X</a>
|
||||
<button class="btn btn-warning btn-detail open_modal"
|
||||
value="{{$riga->id}}">Edit</button>@endif</td>
|
||||
|
||||
</tr>
|
||||
@else
|
||||
<tr>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
<td>non c'è</td>
|
||||
</tr>
|
||||
@endif @endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<table>
|
||||
<tr>
|
||||
<td colspan="2"><strong>Totale</strong></td>
|
||||
<td></td>
|
||||
<td><strong>{{ $totale->costo}} €</strong></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MODAL EDIT Riga-->
|
||||
<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
|
||||
aria-labelledby="myModalLabel" aria-hidden="true">
|
||||
|
||||
Reference in New Issue
Block a user