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.
60 righe
3.8 KiB
60 righe
3.8 KiB
<?php |
|
/** |
|
* @var \App\View\AppView $this |
|
* @var iterable<\App\Model\Entity\WaterDrawingIntendedUse> $waterDrawingIntendedUses |
|
*/ |
|
?> |
|
<div class="waterDrawingIntendedUses index content"> |
|
<?= $this->Html->link(__('New Water Drawing Intended Use'), ['action' => 'add'], ['class' => 'button float-right']) ?> |
|
<h3><?= __('Water Drawing Intended Uses') ?></h3> |
|
<div class="table-responsive"> |
|
<table> |
|
<thead> |
|
<tr> |
|
<th><?= $this->Paginator->sort('id') ?></th> |
|
<th><?= $this->Paginator->sort('area') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_code') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_sheet') ?></th> |
|
<th><?= $this->Paginator->sort('cadastral_parcel') ?></th> |
|
<th><?= $this->Paginator->sort('watering_system') ?></th> |
|
<th><?= $this->Paginator->sort('consortium_area') ?></th> |
|
<th><?= $this->Paginator->sort('rated_power_produced') ?></th> |
|
<th><?= $this->Paginator->sort('water_drawing_paperwork_id') ?></th> |
|
<th><?= $this->Paginator->sort('water_drawing_intended_use_type_id') ?></th> |
|
<th class="actions"><?= __('Actions') ?></th> |
|
</tr> |
|
</thead> |
|
<tbody> |
|
<?php foreach ($waterDrawingIntendedUses as $waterDrawingIntendedUse): ?> |
|
<tr> |
|
<td><?= $this->Number->format($waterDrawingIntendedUse->id) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->area) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->cadastral_code) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->cadastral_sheet) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->cadastral_parcel) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->watering_system) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->consortium_area) ?></td> |
|
<td><?= h($waterDrawingIntendedUse->rated_power_produced) ?></td> |
|
<td><?= $waterDrawingIntendedUse->hasValue('water_drawing_paperwork') ? $this->Html->link($waterDrawingIntendedUse->water_drawing_paperwork->id, ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $waterDrawingIntendedUse->water_drawing_paperwork->id]) : '' ?></td> |
|
<td><?= $waterDrawingIntendedUse->hasValue('water_drawing_intended_use_type') ? $this->Html->link($waterDrawingIntendedUse->water_drawing_intended_use_type->id, ['controller' => 'WaterDrawingIntendedUseTypes', 'action' => 'view', $waterDrawingIntendedUse->water_drawing_intended_use_type->id]) : '' ?></td> |
|
<td class="actions"> |
|
<?= $this->Html->link(__('View'), ['action' => 'view', $waterDrawingIntendedUse->id]) ?> |
|
<?= $this->Html->link(__('Edit'), ['action' => 'edit', $waterDrawingIntendedUse->id]) ?> |
|
<?= $this->Form->postLink(__('Delete'), ['action' => 'delete', $waterDrawingIntendedUse->id], ['confirm' => __('Are you sure you want to delete # {0}?', $waterDrawingIntendedUse->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>
|
|
|