Non puoi selezionare più di 25 argomenti
Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
73 righe
3.2 KiB
73 righe
3.2 KiB
<?php |
|
echo $this->Breadcrumb->render([ |
|
[ |
|
'title' => 'Home', |
|
'icon' => 'fa fa-home', |
|
'url' => '/', |
|
], |
|
[ |
|
'title' => __('Documenti'), |
|
'icon' => 'fa fa-book', |
|
], |
|
[ |
|
'title' => __('Lista Pratiche di attingimento'), |
|
'icon' => 'fa fa-list', |
|
'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'index'] |
|
], |
|
[ |
|
'title' => __('Dettagli Pratica di attingimento'), |
|
'icon' => 'fa fa-info', |
|
'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $water_drawing_paperwork_id] |
|
], |
|
[ |
|
'title' => __('Lista misurazioni relativi alla pratica'), |
|
'icon' => 'fa fa-list', |
|
], |
|
|
|
]); |
|
?> |
|
|
|
<?= $this->Cell('Filters', [__('Filtri')]) ?> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header d-sm-flex"> |
|
<h2 class="card-title"> |
|
<?= __('Lista dei {0} misurazioni relativi alla pratica di attingimento con ID "{1}"', $total_water_drawing_measurements > $filtered_water_drawing_measurements ? __('{0} su {1}', $filtered_water_drawing_measurements, $total_water_drawing_measurements) : $total_water_drawing_measurements, $water_drawing_paperwork_id) ?> |
|
</h2> |
|
<?= $can_export_csv ? $this->Html->link(__('Esporta lista (CSV)'), ['action' => 'index', '_ext' => 'csv', $water_drawing_paperwork_id], ['class' => 'btn btn-success btn-xs']) : null ?> |
|
</div> |
|
<div class="card-body table-responsive p-0"> |
|
<table class="table table-hover text-nowrap"> |
|
<thead> |
|
<tr> |
|
<th scope="col"><?= $this->Paginator->sort('water_drawing_meter_id', __('N° matricola strumento di misura')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('volume', __('Lettura volume (m^3)')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('date', __('Data lettura')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('volume', __('Utente')) ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($waterDrawingMeasurements as $waterDrawingMeasurement) : ?> |
|
<tr> |
|
<td><?= h($waterDrawingMeasurement->water_drawing_meter->part_number) ?></td> |
|
<td><?= h($waterDrawingMeasurement->volume) ?></td> |
|
<td><?= h($waterDrawingMeasurement->date) ?></td> |
|
<td><?= h($waterDrawingMeasurement->user) ?></td> |
|
</tr> |
|
<?php endforeach; ?> |
|
</tbody> |
|
</table> |
|
</div> |
|
<div class="card-footer d-md-flex paginator"> |
|
<div class="mr-auto" style="font-size:.8rem"> |
|
<?= $this->Paginator->counter(__('Pagina {{page}} di {{pages}}, visualizzati {{current}} record(s) di {{count}} totali')) ?> |
|
</div> |
|
<ul class="pagination pagination-sm"> |
|
<?= $this->Paginator->first('<i class="fas fa-angle-double-left"></i>', ['escape' => false]) ?> |
|
<?= $this->Paginator->prev('<i class="fas fa-angle-left"></i>', ['escape' => false]) ?> |
|
<?= $this->Paginator->numbers() ?> |
|
<?= $this->Paginator->next('<i class="fas fa-angle-right"></i>', ['escape' => false]) ?> |
|
<?= $this->Paginator->last('<i class="fas fa-angle-double-right"></i>', ['escape' => false]) ?> |
|
</ul> |
|
</div> |
|
</div>
|
|
|