Lavorazioni di adattamento e modifica su parte progetti
This commit is contained in:
parent
b9325820e4
commit
8c1245bfaf
@ -12,7 +12,7 @@ class RigaProgetto extends Model
|
|||||||
|
|
||||||
public static function getRigheProgetto($progetto_id)
|
public static function getRigheProgetto($progetto_id)
|
||||||
{
|
{
|
||||||
return DB::table('riga_progettos')->where('fk_id_progetto','=',$progetto_id)->get();
|
return DB::table('riga_progettos')->where('fk_id_progetto','=',$progetto_id)->orderBy('data','asc')->get();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function saveRiga($args)
|
public static function saveRiga($args)
|
||||||
|
@ -90,7 +90,11 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td>{{ $operazioni->data; }}</td>
|
<td>{{ $operazioni->data; }}</td>
|
||||||
<td>{{ $operazioni->km; }}</td>
|
<td>{{ $operazioni->km; }}</td>
|
||||||
<td>{{ $revisione[$operazioni->id][0]->superata; }}</td>
|
@if($revisione[$operazioni->id][0]->superata >0)
|
||||||
|
<td>Superata</td>
|
||||||
|
@else
|
||||||
|
<td>Non superata</td>
|
||||||
|
@endif
|
||||||
<td>{{ $revisione[$operazioni->id][0]->centrorevisione; }}</td>
|
<td>{{ $revisione[$operazioni->id][0]->centrorevisione; }}</td>
|
||||||
<td>{{ $revisione[$operazioni->id][0]->descrizione; }}</td>
|
<td>{{ $revisione[$operazioni->id][0]->descrizione; }}</td>
|
||||||
<td>{{ $revisione[$operazioni->id][0]->dataproxrevisione; }}</td>
|
<td>{{ $revisione[$operazioni->id][0]->dataproxrevisione; }}</td>
|
||||||
|
@ -171,9 +171,9 @@
|
|||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
<tr>
|
<tr>
|
||||||
<td colspan="2">Totale</td>
|
<td colspan="2"><strong>Totale</strong></td>
|
||||||
<td></td>
|
<td></td>
|
||||||
<td>{{ $totale->costo}} €</td>
|
<td><strong>{{ $totale->costo}} €</strong></td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user