Skip to content

Commit

Permalink
Fix: ajuste de campos SENCE
Browse files Browse the repository at this point in the history
  • Loading branch information
fauzcategui committed Mar 2, 2021
1 parent f2a1c74 commit b7efa6c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Eventualmente se Agregará el cronómetro y el botón de cierre de sesión.
###

## Descarga
[Versión Estable](https://github.com/fauzcategui/moodle-sence/archive/v2.0.1.zip)
[Versión Estable](https://github.com/fauzcategui/moodle-sence/archive/v2.0.2.zip)


## Configuración General
Expand Down
8 changes: 4 additions & 4 deletions engine.php
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ private function asistencia_form(){
<input value='{$this->sesionAlumno}' type='text' name='IdSesionAlumno' placeholder='IdSesionAlumno' class='form-control'>
<input value='{$PAGE->url}' type='text' name='UrlRetoma' placeholder='UrlRetoma' class='form-control'>
<input value='{$PAGE->url}' type='text' name='UrlError' placeholder='UrlError' class='form-control'>
<input value='{$this->codAlumno}' type='text' name='CodSence' placeholder='CodSence' class='form-control'>
<input value='{$this->codCurso}' type='text' name='CodigoCurso' placeholder='CodigoCurso' class='form-control'>
<input value='{$this->codCurso}' type='text' name='CodSence' placeholder='CodSence' class='form-control'>
<input value='{$this->codAlumno}' type='text' name='CodigoCurso' placeholder='CodigoCurso' class='form-control'>
</div>
</form>
<div style='display:flex; margin-top:30px;'>
Expand Down Expand Up @@ -308,8 +308,8 @@ private function info_otec(){
$otec = $this->get_instance_config('otec') ? $this->get_instance_config('otec') : 'XX;YY';
$t = explode(';', $otec);
if( count($t) == 2 ){
$result['rut'] = $t[0];
$result['token'] = $t[1];
$result['rut'] = trim( $t[0] );
$result['token'] = trim( $t[1] );
}
return $result;
}
Expand Down
2 changes: 1 addition & 1 deletion version.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@

defined('MOODLE_INTERNAL') || die();

$plugin->version = 2021021601;
$plugin->version = 2021021602;
$plugin->requires = 2019111200;
$plugin->component = 'block_sence';

0 comments on commit b7efa6c

Please sign in to comment.