id_entite; $tab_bib[1][]=$row->raison_sociale; } echo window_title($database_window_title.$msg[acquisition_menu].$msg[1003].$msg[1001]); switch($categ) { case 'ach': if(!$nb_bib) { //Pas de bibliothèques définies pour l'utilisateur $error_msg.= htmlentities($msg["acquisition_err_coord"],ENT_QUOTES, $charset)."
"; error_message($msg[321], $error_msg.htmlentities($msg["acquisition_err_par"],ENT_QUOTES, $charset), '1', './admin.php?categ=acquisition'); die; } //Gestion de la tva if ($acquisition_gestion_tva) { $nbr = tva_achats::countTva(); //Gestion de TVA et pas de taux de tva définis if (!$nbr) { $error_msg.= htmlentities($msg["acquisition_err_tva"],ENT_QUOTES, $charset)."
"; error_message($msg[321], $error_msg.htmlentities($msg["acquisition_err_par"],ENT_QUOTES, $charset), '1', './admin.php?categ=acquisition'); die; } } include_once('./acquisition/achats/achats.inc.php'); break; case 'sug': switch($sub) { case 'multi': include_once('./acquisition/suggestions/suggestions_multi.inc.php'); break; case 'import': include_once('./acquisition/suggestions/suggestions_import.inc.php'); break; case 'export': include_once('./acquisition/suggestions/suggestions_export.inc.php'); break; case 'empr_sug': include_once('./acquisition/suggestions/suggestions_empr.inc.php'); break; default: include_once('./acquisition/suggestions/suggestions.inc.php'); break; } break; default: if (!$nb_bib && !$acquisition_sugg_to_cde) { include_once('./acquisition/suggestions/suggestions.inc.php'); } else { if(!$nb_bib) { //Pas de bibliothèques définies pour l'utilisateur $error_msg.= htmlentities($msg["acquisition_err_coord"],ENT_QUOTES, $charset)."
"; error_message($msg[321], $error_msg.htmlentities($msg["acquisition_err_par"],ENT_QUOTES, $charset), '1', './admin.php?categ=acquisition'); die; } //Gestion de la tva if ($acquisition_gestion_tva) { $nbr = tva_achats::countTva(); //Gestion de TVA et pas de taux de tva définis if (!$nbr) { $error_msg.= htmlentities($msg["acquisition_err_tva"],ENT_QUOTES, $charset)."
"; error_message($msg[321], $error_msg.htmlentities($msg["acquisition_err_par"],ENT_QUOTES, $charset), '1', './admin.php?categ=acquisition'); die; } } include_once('./acquisition/achats/achats.inc.php'); } break; }