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.
72 righe
5.0 KiB
72 righe
5.0 KiB
<?php |
|
/** |
|
* @var \App\View\AppView $this |
|
* @var iterable<\App\Model\Entity\WaterDrawingDerivation> $waterDrawingDerivations |
|
*/ |
|
?> |
|
<div class="waterDrawingDerivations index content"> |
|
<?= $this->Html->link(__('New Water Drawing Derivation'), ['action' => 'add'], ['class' => 'button float-right']) ?> |
|
<h3><?= __('Water Drawing Derivations') ?></h3> |
|
<div class="table-responsive"> |
|
<table> |
|
<thead> |
|
<tr> |
|
<th><?= $this->Paginator->sort('id') ?></th> |
|
<th><?= $this->Paginator->sort('water_body') ?></th> |
|
<th><?= $this->Paginator->sort('district') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_code') ?></th> |
|
<th><?= $this->Paginator->sort('location') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_sheet') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_parcel') ?></th> |
|
<th><?= $this->Paginator->sort('latitude') ?></th> |
|
<th><?= $this->Paginator->sort('longitude') ?></th> |
|
<th><?= $this->Paginator->sort('istat') ?></th> |
|
<th><?= $this->Paginator->sort('derivation_status') ?></th> |
|
<th><?= $this->Paginator->sort('withdrawals_amount') ?></th> |
|
<th><?= $this->Paginator->sort('annual_volume') ?></th> |
|
<th><?= $this->Paginator->sort('average_flow_rate') ?></th> |
|
<th><?= $this->Paginator->sort('water_drawing_derivation_type_id') ?></th> |
|
<th><?= $this->Paginator->sort('water_drawing_paperwork_id') ?></th> |
|
<th class="actions"><?= __('Actions') ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($waterDrawingDerivations as $waterDrawingDerivation): ?> |
|
<tr> |
|
<td><?= $this->Number->format($waterDrawingDerivation->id) ?></td> |
|
<td><?= h($waterDrawingDerivation->water_body) ?></td> |
|
<td><?= h($waterDrawingDerivation->district) ?></td> |
|
<td><?= h($waterDrawingDerivation->cadastral_code) ?></td> |
|
<td><?= h($waterDrawingDerivation->location) ?></td> |
|
<td><?= $waterDrawingDerivation->cadastral_sheet === null ? '' : $this->Number->format($waterDrawingDerivation->cadastral_sheet) ?></td> |
|
<td><?= $waterDrawingDerivation->cadastral_parcel === null ? '' : $this->Number->format($waterDrawingDerivation->cadastral_parcel) ?></td> |
|
<td><?= h($waterDrawingDerivation->latitude) ?></td> |
|
<td><?= h($waterDrawingDerivation->longitude) ?></td> |
|
<td><?= h($waterDrawingDerivation->istat) ?></td> |
|
<td><?= h($waterDrawingDerivation->derivation_status) ?></td> |
|
<td><?= $waterDrawingDerivation->withdrawals_amount === null ? '' : $this->Number->format($waterDrawingDerivation->withdrawals_amount) ?></td> |
|
<td><?= $waterDrawingDerivation->annual_volume === null ? '' : $this->Number->format($waterDrawingDerivation->annual_volume) ?></td> |
|
<td><?= $waterDrawingDerivation->average_flow_rate === null ? '' : $this->Number->format($waterDrawingDerivation->average_flow_rate) ?></td> |
|
<td><?= $waterDrawingDerivation->hasValue('water_drawing_derivation_type') ? $this->Html->link($waterDrawingDerivation->water_drawing_derivation_type->id, ['controller' => 'WaterDrawingDerivationTypes', 'action' => 'view', $waterDrawingDerivation->water_drawing_derivation_type->id]) : '' ?></td> |
|
<td><?= $waterDrawingDerivation->hasValue('water_drawing_paperwork') ? $this->Html->link($waterDrawingDerivation->water_drawing_paperwork->id, ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $waterDrawingDerivation->water_drawing_paperwork->id]) : '' ?></td> |
|
<td class="actions"> |
|
<?= $this->Html->link(__('View'), ['action' => 'view', $waterDrawingDerivation->id]) ?> |
|
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $waterDrawingDerivation->id]) ?> |
|
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $waterDrawingDerivation->id], ['confirm' => __('Are you sure you want to delete # {0}?', $waterDrawingDerivation->id)]) ?> |
|
</td> |
|
</tr> |
|
<?php endforeach; ?> |
|
</tbody> |
|
</table> |
|
</div> |
|
<div class="paginator"> |
|
<ul class="pagination"> |
|
<?= $this->Paginator->first('<< ' . __('first')) ?> |
|
<?= $this->Paginator->prev('< ' . __('previous')) ?> |
|
<?= $this->Paginator->numbers() ?> |
|
<?= $this->Paginator->next(__('next') . ' >') ?> |
|
<?= $this->Paginator->last(__('last') . ' >>') ?> |
|
</ul> |
|
<p><?= $this->Paginator->counter(__('Page {{page}} of {{pages}}, showing {{current}} record(s) out of {{count}} total')) ?></p> |
|
</div> |
|
</div>
|
|
|