コード例 #1
0
     $vive_con = $_POST['LIVES_WITH'];
 }
 $curso_postula = null;
 if ($_POST['curso_postula'] != 0) {
     $curso_postula = $_POST['curso_postula'];
 }
 $curso_vencido = null;
 if ($_POST['curso_vencido'] != 0) {
     $curso_vencido = $_POST['curso_vencido'];
 }
 $data = array($_POST['actualmente_socio'], $_POST['nombre_alumno'], $_POST['ape_pat_alumno'], $_POST['ape_mat_alumno'], $_POST['rude_alumno'], $_POST['identify_doc_student'], $_POST['type_identify_doc_student'], $_POST['city_expedition_student'], $_POST['country_expedition_student'], $_POST['GENDER'], date('Y-m-d', strtotime(str_replace('/', '-', $_POST['fec_nac_alumno']))), $_POST['BLOOD_TYPE'], $vive_con, $_POST['religion_alumno'], $_POST['colegio_anterior'], $curso_vencido, $curso_postula, $_POST['motivo_alejamiento'], $_POST['anios_cursados_en_loyola'], $_POST['anios_fuera_de_loyola'], $_POST['motivacion_1'], $_POST['motivacion_2'], $_POST['motivacion_3'], $_POST['nombre_socio_1'], $_POST['telefono_socio_1'], $_POST['celular_socio_1'], $_POST['correo_socio_1'], $_POST['nombre_socio_2'], $_POST['telefono_socio_2'], $_POST['celular_socio_2'], $_POST['correo_socio_2'], $_POST['nombre_socio_titular'], $_POST['apel_pat_socio_titular'], $_POST['apel_mat_socio_titular'], $_POST['ci_socio'], $_POST['TYPE_IDENTIFY_DOCUMENT'], $_POST['CITY_BIRTH'], $_POST['COUNTRY_BIRTH'], $_POST['persona_referencia'], $_POST['nombre_factura'], $_POST['nit_factura'], $_POST['enfermedades_alumno'], $_POST['accidentes_alumno'], $_POST['alergias_alumno'], $_POST['cirujias_alumno'], $_POST['vacunas_alumno'], $_POST['medicacion_alumno'], $_POST['alia_alumno'], $_POST['juego_practica_alumno'], $_POST['pasatiempos_alumno'], $_POST['nombre_contacto'], $_POST['direccion_contacto'], $_POST['tel_dom_contacto'], $_POST['tel_trab_contacto'], $_POST['celular_contacto'], $_POST['EDIT']);
 $statusTransactionDB = $catalog->updateMembershipAppForm($data, $idTransaction);
 if ($statusTransactionDB > 0) {
     //Forms::setMessage('SUCCESS', $v_label["SHORT_MESSAGE_OK_NEW"], $v_label["DETAIL_MESSAGE_OK_NEW"]);
     $data_scool = array($_POST['colegio_anterior'], $_POST['CITY_ALUMNO'], $_POST['grado_cursado'], $_POST['anio_alumno'], $_POST['EDIT']);
     $idScool = $scool->updateSchooling($data_scool, $idTransaction);
     $grado_educacion_padre = null;
     if ($_POST['GRADO_EDUCACION_PADRE'] != 0) {
         $grado_educacion_padre = $_POST['GRADO_EDUCACION_PADRE'];
     }
     $profesion_padre = null;
     if ($_POST['PROFESSION_PADRE'] != 0) {
         $profesion_padre = $_POST['PROFESSION_PADRE'];
     }
     $marital_status_padre = null;
     if ($_POST['MARITAL_STATUS_PADRE'] != 0) {
         $marital_status_padre = $_POST['MARITAL_STATUS_PADRE'];
     }
     $is_an_alumnus_padre = null;
     if (isset($_POST['is_an_alumnus_padre']) && $_POST['is_an_alumnus_padre'] != 0) {
         $is_an_alumnus_padre = $_POST['is_an_alumnus_padre'];