. */ include_once __DIR__.'/../../core.php'; $dir = $documento->direzione; $numero = $documento->numero_esterno ?: $documento->numero; echo '
'; $id_scadenza = $id_record; // Forzatura per allegare file sempre al primo record if (!empty($documento)) { $id_scadenza = $dbo->fetchOne('SELECT id FROM co_scadenze WHERE iddocumento='.prepare($documento->id).' ORDER BY id')['id']; } ?> {( "name": "filelist_and_upload", "id_module": "$id_module$", "id_record": "" )} {( "name": "log_email", "id_module": "$id_module$", "id_record": "$id_record$" )} '.tr('Elimina').' '; } echo '{[ "type": "date", "name": "scadenza[-id-]" ]} | {[ "type": "number", "name": "da_pagare[-id-]", "decimals": 2, "onchange": "controlloTotale()" ]} | {[ "type": "number", "name": "pagato[-id-]", "decimals": 2 ]} | {[ "type": "date", "name": "data_concordata[-id-]" ]} | {[ "type": "textarea", "name": "note[-id-]" ]} |