Ejemplo n.º 1
0
             break;
     }
     $actions->show_com_form();
     break;
 case 'rdv_plan':
     switch ($act) {
         case 'close_rdv':
             $actions->close_rdv();
             break;
     }
     $actions->show_planning_form();
     break;
 case 'rdv_val':
     switch ($act) {
         case 'val_rdv':
             $actions->valider_rdv();
             break;
     }
     $actions->show_rdv_val_form();
     break;
 default:
     switch ($act) {
         case 'add_action':
             $actions->show_modif_form();
             break;
         case 'save_action':
             demandes_actions::get_values_from_form($actions);
             demandes_actions::save($actions);
             $actions->fetch_data($actions->id_action, false);
             $actions->show_consultation_form();
             break;