echo "<tr><td><font size=3><b>Información de Gestión</font></td></tr>";
echo "<tr><td>";
echo "<table width=\"100%\" border=\"1\"  cellspacing=\"0\" cellpadding=\"2\" align=\"center\">";
echo "<tr class=\"table_title_row\">";
echo "<td class=\"table_title_row\">Campo</td>";
echo "<td class=\"table_title_row\">Valor</td>";
echo "</tr>";
$i = 0;
foreach ($arrDatosGestion as $regGestion) {
    if ($i == 0) {
        //Muestra una sola vez el calltype
        $i++;
        echo "<tr class=\"table_data\">";
        echo "<td class=\"table_data\">Calltype</td>";
        echo "<td class=\"table_data\"> <select name=\"calltype\">";
        $arrCalltypes = $pReporte->getCalltypesByCampania($regGestion['campania']);
        foreach ($arrCalltypes as $calltype) {
            if ($calltype["id"] == $regGestion['calltype']) {
                echo "<option value=\"" . $calltype["id"] . "\" selected>" . $calltype["descripcion"] . "</option>";
            } else {
                echo "<option value=\"" . $calltype["id"] . "\">" . $calltype["descripcion"] . "</option>";
            }
        }
        echo "</select></td>";
        echo "</tr>";
    }
    echo "<tr class=\"table_data\">";
    echo "<td class=\"table_data\">" . $regGestion['etiqueta'] . "</td>";
    if ($regGestion['tipo'] == "TEXT" || $regGestion['tipo'] == "DATE") {
        echo "<td class=\"table_data\"> <input type=\"text\" value=\"" . $regGestion['valor'] . "\" name=\"" . $regGestion['etiqueta'] . "\"></td>";
    } elseif ($regGestion['tipo'] == "LIST") {