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.
80 righe
4.0 KiB
80 righe
4.0 KiB
<?php |
|
use Cake\I18n\DateTime; |
|
|
|
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' => __('Storico Pratica di attingimento'), |
|
'icon' => 'fa fa-list', |
|
], |
|
]); |
|
?> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header d-sm-flex"> |
|
<h2 class="card-title"> |
|
<?= __("Storico Pratica $water_drawing_paperwork_id") ?> |
|
</h2> |
|
<?= $can_export_snapshots ? $this->Html->link(__('Esporta CSV'), ['controller' => 'WaterDrawingPaperworks', 'action' => 'index_snapshots_csv', $water_drawing_paperwork_id], ['style="margin-left:1rem;"', 'class' => 'btn btn-info btn-xs']) : '' ?> |
|
</div> |
|
<div class="card-body table-responsive p-0"> |
|
<table class="table table-hover text-nowrap"> |
|
<thead> |
|
<tr> |
|
<th scope="col"><?= $this->Paginator->sort('when', __('Data')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('who', __('Da')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('what', __('Azione')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('water_drawing_paperwork_status', __('Stato Pratica')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('gc_user', __('Assegnatario Genio Civile')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('drar_user', __('Assegnatario DRAR')) ?></th> |
|
<th scope="col" class="actions text-center"><?= __('Actions') ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($unpackedWaterDrawingPaperworkSnapshots as $unpackedWaterDrawingPaperworkSnapshot): ?> |
|
<tr> |
|
<td><?= h(isset($unpackedWaterDrawingPaperworkSnapshot->when) ? (new DateTime($unpackedWaterDrawingPaperworkSnapshot->when))->i18nFormat('dd/MM/Y HH:mm:ss', $logged_user_timezone) : null) ?></td> |
|
<td><?= h($unpackedWaterDrawingPaperworkSnapshot->who) ?></td> |
|
<td><?= h($unpackedWaterDrawingPaperworkSnapshot->what) ?></td> |
|
<td><?= H($unpackedWaterDrawingPaperworkSnapshot->water_drawing_paperwork_status) ?></td> |
|
<td><?= h($unpackedWaterDrawingPaperworkSnapshot->gc_user) ?></td> |
|
<td><?= h($unpackedWaterDrawingPaperworkSnapshot->drar_user) ?></td> |
|
<td class="actions text-right"> |
|
<?= $this->Html->link(__('Dettaglio'), ['action' => ($waterDrawingPaperwork->scanned ? 'view_scan_snapshot' : 'view_snapshot'), $unpackedWaterDrawingPaperworkSnapshot->snapshot_id], ['class'=>'btn btn-info btn-xs']) ?> |
|
</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>
|
|
|