'add_preventivo', 'id_importazione' => 'id_preventivo', 'final_module' => $module['name'], 'original_module' => 'Preventivi', 'sql' => [ 'table' => 'co_preventivi', 'rows' => 'co_righe_preventivi', 'id_rows' => 'idpreventivo', ], 'serials' => false, 'button' => tr('Aggiungi'), 'dir' => 'entrata', ]; $result = [ 'id_record' => $id_record, 'id_documento' => get('iddocumento'), ]; echo App::load('importa.php', $result, $options, true); return; } echo '