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' => __('Dettagli Pratica di attingimento'), 'icon' => 'fa fa-info', 'url' => ['controller' => 'WaterDrawingPaperworks', 'action' => 'view', $waterDrawingDerivation->water_drawing_paperwork_id], ], [ 'title' => __('Dettagli Punto di prelievo/derivazione'), 'icon' => 'fa fa-info', ], ]); ?>

Form->create($waterDrawingDerivation, ['id' => 'myForm', 'role' => 'form']); ?>
Form->control('water_drawing_derivation_type.description', ['label' => __('Tipo di derivazione'), 'type' => 'text', 'required' => false, 'disabled' => true]) ?>
Form->control('water_body', ['label' => __('Corpo idrico'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('description', ['label' => __('Descrizione'), 'type' => 'text', 'disabled' => true]) ?>
Cell('Map', [ null, // Array $layer_ids = null -> null = nessun layer verrà caricato. [] = tutti i layers della table maps verranno caricati. [1,2,3] = solamente i layers della table maps con id 1,2 e 3 verranno caricati false, // Bool $get_current_position = false -> true = viene eseguito lo zoom in mappa sulla posizione utente (se disponibile dal browser e l'utente da i permessi) [ // Array $tools = null -> null/[] = nessun tool verrà visualizzato in mappa. Altrimenti verranno inseriti i tools specificati e le relative configurazioni come specificato di seguito 'drawing_layer_name' // String $drawing_layer_name = null -> se specificato, verrà utilizzato come nome del layer che gestisce le geometrie disegnate. Se lasciato vuoto o null, il nome di default verrà utilizzato => __('Posizione Punto di prelievo/derivazione'), ], null, // Int $zoom_to_layer_with_id = null -> se si specifica un Int, verrà eseguito lo zoom sull'extent del layer con quell'id ]); ?> Form->control('feature_collection', ['type' => 'hidden']); ?>
Form->control('district', ['label' => __('Comune'), 'type' => 'text', 'requred' => true, 'disabled' => true]) ?>
Form->control('cadastral_code', ['label' => __('Codice catastale (Belfiore)'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('location', ['label' => __('Contrada/Località'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('cadastral_sheet', ['label' => __('Foglio di Mappa'), 'requred' => true, 'min' => 0, 'disabled' => true]) ?>
Form->control('cadastral_parcel', ['label' => __('Particella'), 'requred' => true, 'min' => 0, 'disabled' => true]) ?>
Form->control('longitude', ['label' => __('Coordinata WGS84 EPSG:4326 Lon'), 'readonly' => true, 'disabled' => true]) ?>
Form->control('latitude', ['label' => __('Coordinata WGS84 EPSG:4326 Lat'), 'readonly' => true, 'disabled' => true]) ?>
Form->control('istat', ['label' => __('Codice ISTAT'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('derivation_status', ['label' => __('Status della derivazione'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('withdrawals_amount', ['label' => __('N. prelievi'), 'type' => 'text', 'disabled' => true]) ?>
Form->control('annual_volume', ['label' => __('Volume annuo (m^3)'), 'type' => 'number', 'min' => 0, 'disabled' => true]) ?>
Form->control('average_flow_rate', ['label' => __('Portata media (l/s)'), 'type' => 'number', 'min' => 0, 'disabled' => true]) ?>
Form->end(); ?>