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.
71 righe
3.8 KiB
71 righe
3.8 KiB
<?php |
|
echo $this->Breadcrumb->render([ |
|
[ |
|
'title' => 'Home', |
|
'icon' => 'fa fa-home', |
|
'url' => '/', |
|
], |
|
[ |
|
'title' => __('Documenti'), |
|
'icon' => 'fa fa-book', |
|
], |
|
[ |
|
'title' => __('Lista Pratiche di attingimento da validare'), |
|
'icon' => 'fa fa-list', |
|
], |
|
]); |
|
?> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header d-sm-flex"> |
|
<h2 class="card-title"> |
|
<?= __('Lista delle {0} Pratiche di attingimento da validare', $total_water_drawing_paperworks) ?> |
|
</h2> |
|
</div> |
|
<div class="card-body table-responsive p-0"> |
|
<table class="table table-hover text-nowrap"> |
|
<thead> |
|
<tr> |
|
<th scope="col"><?= $this->Paginator->sort('id', __('ID')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('WaterDrawingPaperworkStatuses.description', __('Stato')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('district', __('Comune')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('release_date', __('Data di rilascio')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('concession_duration', __('Durata della Derivazione (anni)')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('expiration_date', __('Scadenza')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('ControllableObjects.created', __('Creata il')) ?></th> |
|
<th scope="col"><?= $this->Paginator->sort('ControllableObjects.modified', __('Modificata il')) ?></th> |
|
<th scope="col" class="actions text-center"><?= __('Actions') ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($waterDrawingPaperworks as $waterDrawingPaperwork): ?> |
|
<tr> |
|
<td><?= $this->Number->format($waterDrawingPaperwork->id) ?></td> |
|
<td><?= h($waterDrawingPaperwork->water_drawing_paperwork_status->description) ?></td> |
|
<td><?= h($waterDrawingPaperwork->district) ?></td> |
|
<td><?= h($waterDrawingPaperwork->release_date) ?></td> |
|
<td><?= isset($waterDrawingPaperwork->concession_duration) ? $this->Number->format($waterDrawingPaperwork->concession_duration) : '' ?></td> |
|
<td><?= h($waterDrawingPaperwork->expiration_date) ?></td> |
|
<td><?= h($waterDrawingPaperwork->controllable_object->created) ?></td> |
|
<td><?= h($waterDrawingPaperwork->controllable_object->modified) ?></td> |
|
<td class="actions text-right"> |
|
<?= $waterDrawingPaperwork->can_validate ? $this->Html->link(__('Valida'), ['controller' => 'WaterDrawingPaperworks', 'action' => ( $waterDrawingPaperwork->scanned ? 'validate_scan' : 'validate'), $waterDrawingPaperwork->id], ['class'=>'btn btn-info btn-xs']) : null ?> |
|
</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>
|
|
|