if (sizeof($chk)) {
                    for ($i = 0; $i < count($chk); $i++) {
                        $action = new demandes_actions($chk[$i]);
                        demandes_actions::delete($action);
                    }
                } else {
                    demandes_actions::delete($actions);
                }
                $demandes->fetch_data($iddemande, false);
                $demandes->show_consult_form();
                break;
            case 'add_docnum':
                $actions->show_docnum_form();
                break;
            case 'save_docnum':
                demandes_actions::get_docnum_values_from_form($explnum_doc);
                demandes_actions::save_docnum($actions, $explnum_doc);
                $actions->fetch_data($actions->id_action, false);
                $actions->show_consultation_form();
                break;
            case 'suppr_docnum':
                demandes_actions::delete_docnum($explnum_doc);
                $actions->fetch_data($actions->id_action, false);
                $actions->show_consultation_form();
                break;
            case 'modif_docnum':
                $actions->show_docnum_form();
                break;
        }
        break;
}