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.
83 righe
4.5 KiB
83 righe
4.5 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 pagamenti'), |
|
'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} pagamenti relativi alla pratica di attingimento con ID "{1}"', $total_water_drawing_payments > $filtered_water_drawing_payments ? __('{0} su {1}', $filtered_water_drawing_payments, $total_water_drawing_payments) : $total_water_drawing_payments, $water_drawing_paperwork_id) ?> |
|
</h2> |
|
<?= $can_export_csv ? $this->Html->link(__('Esporta lista (CSV)'), ['controller' => 'WaterDrawingPayments', '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> |
|
<thead> |
|
<tr> |
|
<th scope="col"><?= __('Anno') ?></th> |
|
<th scope="col"><?= __('Data pagamento') ?></th> |
|
<th scope="col"><?= __('Numero del pagamento') ?></th> |
|
<th scope="col"><?= __('Importo') ?></th> |
|
<th scope="col"><?= __('Tipologia di pagamento') ?></th> |
|
<th scope="col"><?= __('Codice fiscale concessionario') ?></th> |
|
<th scope="col"><?= __('Azioni') ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($waterDrawingPayments as $waterDrawingPayment) : ?> |
|
<tr> |
|
<td><?= h($waterDrawingPayment->water_drawing_fee->year) ?></td> |
|
<td><?= h($waterDrawingPayment->payment_date) ?></td> |
|
<td><?= h($waterDrawingPayment->payment_number) ?></td> |
|
<td><?= h($waterDrawingPayment->amount) ?></td> |
|
<td><?= h($waterDrawingPayment->water_drawing_payment_type->description) ?></td> |
|
<td><?= h($waterDrawingPayment->applicant_tax_code) ?></td> |
|
<td> |
|
<?= $waterDrawingPayment->can_edit ? $this->Html->link(__('Modifica'), ['controller' => 'WaterDrawingPayments', 'action' => 'edit', $waterDrawingPayment->id], ['class' => 'btn btn-warning btn-xs']) : null ?> |
|
<?= $this->Html->link(__('Dettagli'), ['controller' => 'WaterDrawingPayments', 'action' => 'view', $waterDrawingPayment->id], ['class' => 'btn btn-info btn-xs']) ?> |
|
<?= $waterDrawingPayment->can_delete ? $this->Form->postLink(__('Cancella'), ['controller' => 'WaterDrawingPayments', 'action' => 'delete', $waterDrawingPayment->id], ['confirm' => __('Sei sicuro che vuoi cancellare il pagamento n° "{0}" ?', $waterDrawingPayment->payment_number), 'class' => 'btn btn-danger 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>
|
|
|