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.
62 righe
2.3 KiB
62 righe
2.3 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' => __('Dettaglio Pratica di attingimento'), |
|
'icon' => 'fa fa-list', |
|
//'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $water_drawing_paperwork_id], |
|
], |
|
[ |
|
'title' => __('Modifica il documento PEC'), |
|
'icon' => 'fa fa-pencil-alt', |
|
], |
|
]); |
|
?> |
|
|
|
<div class="card card-primary card-outline"> |
|
<div class="card-header d-sm-flex"> |
|
<h2 class="card-title"><?= __('Modifica documento PEC') ?></h2> |
|
</div> |
|
<?php echo $this->Form->create($waterDrawingPaperworkPec, ['role' => 'form', 'type' => 'file']); ?> |
|
<div class="card-body"> |
|
<?= $this->Form->control('document', ['label' => __('Documento'), 'type' => 'text']) ?> |
|
<?= $this->Form->control('protocol_number', ['label' => __('Numero di protocollo'), 'type' => 'text']) ?> |
|
<?= $this->Form->control('recipient', ['label' => __('Destinatario'), 'type' => 'text']) ?> |
|
<?= $this->Form->control('sender', ['label' => __('Inviato da'), 'type' => 'text']) ?> |
|
<?= $this->Form->control('protocol_date', ['label' => __('Data'), 'type' => 'date', 'style' => 'margin-left: 5px;', 'max' => $today->format('Y-m-d')]) ?> |
|
<?php |
|
echo $this->element('attachments', [ |
|
'coId' => $waterDrawingPaperworkPec->controllable_object_id, |
|
'filepicker' => true, |
|
'viewer' => true, |
|
'currentFilesRemovable' => true, |
|
'tags' => $tags, |
|
'required' => false, |
|
'view_in_frame_with_id' => false, |
|
'accept_only' => ['.pdf'] |
|
]); |
|
?> |
|
<?php |
|
echo $this->Form->control('note', ['label' => 'Note:', 'type' => 'textarea']); |
|
?> |
|
</div> |
|
<div class="card-footer d-flex"> |
|
<div class="ml-auto"> |
|
<?php echo $this->Form->submit(__('Salva'), ['class' => 'btn btn-success']); ?> |
|
</div> |
|
</div> |
|
<?php echo $this->Form->end(); ?> |
|
</div>
|
|
|