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' => __('Dettagli documento PEC'),
'icon' => 'fa fa-info',
],
]);
?>
Form->create($waterDrawingPaperworkPec, ['role' => 'form', 'type' => 'file']); ?>
= $this->Form->control('document', ['label' => __('Documento'), 'type' => 'text', 'disabled' => true]) ?>
= $this->Form->control('protocol_number', ['label' => __('Numero di protocollo'), 'type' => 'text', 'disabled' => true]) ?>
= $this->Form->control('recipient', ['label' => __('Destinatario'), 'type' => 'text', 'disabled' => true]) ?>
= $this->Form->control('sender', ['label' => __('Inviato da'), 'type' => 'text', 'disabled' => true]) ?>
= $this->Form->control('protocol_date', ['label' => __('Data'), 'type' => 'date', 'style' => 'margin-left: 5px;', 'disabled' => true]) ?>
element('attachments', [
'coId' => $waterDrawingPaperworkPec->controllable_object_id,
'filepicker' => false,
'viewer' => true,
'tags' => $tags,
'currentFilesRemovable' => false,
'view_in_frame_with_id' => false,
]);
?>
Form->control('note', ['label' => 'Note:', 'type' => 'textarea', 'disabled' => true]);
?>
Form->end(); ?>