<commit_before><?php

session_start();
//include_once '../../DAO/Registro/Documento.php';
//include_once '../../DAO/Registro/Compra.php';
//include_once '../../DAO/Registro/Producto.php';
include_once '../../DAO/Registro/Schedule.php';
//$direccion="location: ../../Vistas/Registros/serv_Reporte_Final.php";


if(isset($_POST['hidden_documento']))
{
    $accion = $_POST['hidden_documento'];
  
            if($accion=='generar_reporte_schedule')
    {   
       $idschedule= $_POST['id_schedule'];
                          
                $ob = new Schedule();
                $ob->setId($idschedule);
                $lista = $ob->reporte($ob);
                echo 'si carga arreglo';
                exit();
                $lista2 = $ob->buscarPorId($ob);
                $_SESSION['Schedule']=$lista;
                $_SESSION['Schedule_cabecera']=$lista2;
                $_SESSION['id_schedule']=$idschedule;
                
                 header("location: ../../Vistas/ReporteSchedule.php");
           
       

    }
           if($accion=='generar_reporte_cierre_schedule')
    {   
       $idschedule= $_POST['id_schedule'];
       
     
                $ob = new Schedule();
                $ob->setId($idschedule);<commit_msg>Update CReportesPdf.php<commit_after><?php

session_start();
//include_once '../../DAO/Registro/Documento.php';
//include_once '../../DAO/Registro/Compra.php';
//include_once '../../DAO/Registro/Producto.php';
include_once '../../DAO/Registro/Schedule.php';
//$direccion="location: ../../Vistas/Registros/serv_Reporte_Final.php";


if(isset($_POST['hidden_documento']))
{
    $accion = $_POST['hidden_documento'];
  
            if($accion=='generar_reporte_schedule')
    {   
       $idschedule= $_POST['id_schedule'];
                          
                $ob = new Schedule();
                $ob->setId($idschedule);
                $lista = $ob->reporte($ob);
                //echo 'si carga arreglo';
                //exit();
                $lista2 = $ob->buscarPorId($ob);
                $_SESSION['Schedule']=$lista;
                $_SESSION['Schedule_cabecera']=$lista2;
                $_SESSION['id_schedule']=$idschedule;
                
                 header("location: ../../Vistas/ReporteSchedule.php");
           
       

    }
           if($accion=='generar_reporte_cierre_schedule')
    {   
       $idschedule= $_POST['id_schedule'];
       
     
                $ob = new Schedule();
                $ob->setId($idschedule);
{'fraction_non_alphanumeric': 0.17410358565737052, 'fraction_numerical': 0.0015936254980079682, 'mean_word_length': 1.7502738225629793, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6627428', 'n_tokens_mistral': 772, 'n_tokens_neox': 756, 'n_words': 86}