From 0e761f725747ca6de31324bed5dca81706b58199 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sat, 29 Sep 2007 20:58:42 +0000 Subject: [PATCH] Fix: avertir qu'on doit activer des codes barres --- htdocs/html.form.class.php | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/htdocs/html.form.class.php b/htdocs/html.form.class.php index adf4940b77d..4c3386f933d 100644 --- a/htdocs/html.form.class.php +++ b/htdocs/html.form.class.php @@ -3547,6 +3547,8 @@ class Form */ function select_barcode_type($selected='',$htmlname='coder_id',$useempty=0) { + global $langs; + $sql = "SELECT rowid, code, libelle"; $sql.= " FROM ".MAIN_DB_PREFIX."c_barcode_type"; $sql.= " WHERE coder > 0"; @@ -3555,13 +3557,19 @@ class Form if ($result) { print '