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.
91 righe
4.5 KiB
91 righe
4.5 KiB
<?php |
|
echo $this->Breadcrumb->render([ |
|
[ |
|
'title' => 'Home', |
|
'icon' => 'fa fa-home', |
|
'url' => '/', |
|
], |
|
[ |
|
'title' => __('Configurazioni'), |
|
'icon' => 'fa fa-wrench', |
|
], |
|
[ |
|
'title' => __('Dettagli pratica d\'attingimento'), |
|
'icon' => 'fa fa-info', |
|
'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $waterDrawingFee->water_drawing_paperwork_id], |
|
], |
|
[ |
|
'title' => __('Dettagli Canone annuale'), |
|
'icon' => 'fa fa-info', |
|
], |
|
]); |
|
?> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header d-sm-flex"> |
|
<h2 class="card-title"><?= __('Dettagli Canone annuale') ?></h2> |
|
</div> |
|
<?php echo $this->Form->create($waterDrawingFee, ['role' => 'form']); ?> |
|
<div class="card-body"> |
|
<div class="row"> |
|
<div class="col-md-6"> |
|
<?= $this->Form->control('amount', ['label' => __('Canone'), 'required' => true, 'disabled' => true]); ?> |
|
</div> |
|
<div class="col-md-6"> |
|
<?= $this->Form->control('year', ['label' => __('Anno'), 'disabled' => true]); ?> |
|
<?= $this->Form->hidden('water_drawing_paperwork_id', ['value' => $waterDrawingFee->water_drawing_paperwork_id]); ?> |
|
</div> |
|
</div> |
|
<?= $this->Form->end(); ?> |
|
</div> |
|
<div class="card-footer d-flex"> |
|
<div class="ml-auto"> |
|
<?php |
|
echo $waterDrawingFee->can_edit ? $this->Html->link(__('Modifica'), ['action' => 'edit', $waterDrawingFee->id], ['class' => 'btn btn-warning btn-xs', 'style' => 'margin-right:1rem']) : null; |
|
echo $waterDrawingFee->can_delete ? $this->Form->postLink(__('Cancella'), ['action' => 'delete', $waterDrawingFee->id], ['confirm' => __('Sei sicuro che vuoi cancellare il canone annuale "{0}" ?', $waterDrawingFee->year), 'class' => 'btn btn-danger btn-xs']) : null; |
|
?> |
|
</div> |
|
</div> |
|
</div> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header"> |
|
<h3 class="card-title"> |
|
<?= __('Pagamenti legati al canone') ?> |
|
</h3> |
|
</div> |
|
<div class="card-body table-responsive p-0"> |
|
<table class="table table-hover text-nowrap"> |
|
<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"><?= __('Data inserimento') ?></th> |
|
<th scope="col"><?= __('Utente') ?></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->created) ?></td> |
|
<td><?= h($waterDrawingPayment->user) ?></td> |
|
<td> |
|
<?= $waterDrawingPayment->can_edit ? $this->Html->link(__('Modifica'), ['controller' => 'WaterDrawingPayments', 'action' => 'edit', $waterDrawingPayment->id], ['class' => 'btn btn-warning btn-xs']) : null ?> |
|
<?= $waterDrawingPayment->can_view ? $this->Html->link(__('Dettagli'), ['controller' => 'WaterDrawingPayments', 'action' => 'view', $waterDrawingPayment->id], ['class' => 'btn btn-info btn-xs']) : null ?> |
|
<?= $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>
|
|
|