diff options
author | Roberto Hueso Gómez <rhueso@soleta.eu> | 2020-03-02 13:52:58 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2020-06-02 12:32:36 +0200 |
commit | 639a33c7c11888cb33ee9c850aa158f6a21eff87 (patch) | |
tree | a0ce0a8cabd8e24766dcc0bcdd6d2c40980d320a /admin/WebConsole/gestores | |
parent | 9829025184d5d18b6c1a9832343d4b4e14da1d9d (diff) |
#942 Implement update schedule (web)
Diffstat (limited to 'admin/WebConsole/gestores')
-rw-r--r-- | admin/WebConsole/gestores/gestor_programaciones.php | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/admin/WebConsole/gestores/gestor_programaciones.php b/admin/WebConsole/gestores/gestor_programaciones.php index 4df4d2ce..2edbe373 100644 --- a/admin/WebConsole/gestores/gestor_programaciones.php +++ b/admin/WebConsole/gestores/gestor_programaciones.php @@ -81,19 +81,22 @@ if($pswop!=$op_suspension){ $result; $idr=$pidprogramacion; switch($pswop){ - case $op_modificacion : - $swop=$op_modificacion; - break; case $op_alta: $result = create_schedule($pidentificador, $pnombrebloque, $pannos, $pmeses, $pdiario, $phoras, $pampm, $pminutos); $swop=$op_alta; break; - case $op_eliminacion : + case $op_eliminacion: $result = delete_schedule($pidprogramacion); $swop=$op_eliminacion; break; + case $op_modificacion: + $result = update_schedule($pidprogramacion, + $pidentificador, $pnombrebloque, $pannos, + $pmeses, $pdiario, $phoras, $pampm, $pminutos); + $swop = $op_modificacion; + break; default: break; } |