{[ "type": "text", "label": "", "name": "nome", "required": "1", "value": "$nome$" ]}
{[ "type": "text", "label": "", "name": "filiale", "value": "$filiale$" ]}
{[ "type": "select", "label": "", "name": "id_pianodeiconti3", "value": "$id_pianodeiconti3$", "values": "query=SELECT id, descrizione FROM co_pianodeiconti3 WHERE idpianodeiconti2 = 1 AND ( id NOT IN (SELECT id_pianodeiconti3 FROM co_banche WHERE id != '' ) )" ]}
{[ "type": "text", "label": "", "name": "iban", "required": "1", "class": "alphanumeric-mask", "maxlength": 32, "value": "$iban$" ]}
{[ "type": "text", "label": "", "name": "bic", "class": "alphanumeric-mask", "maxlength": 11, "value": "$bic$" ]}
{[ "type": "textarea", "label": "", "name": "note", "required": 0, "value": "$note$" ]}
fetchNum('SELECT idanagrafica FROM an_anagrafiche WHERE idbanca_vendite='.prepare($id_record).' UNION SELECT idanagrafica FROM an_anagrafiche WHERE idbanca_acquisti='.prepare($id_record)); if (!empty($documenti)) { echo '
'.tr('Ci sono _NUM_ documenti collegati', [ '_NUM_' => count($documenti), ]).'.
'; } ?>