diff --git a/adm/helpers/HelperFormBootstrap.php b/adm/helpers/HelperFormBootstrap.php index 4c636151..65e82821 100644 --- a/adm/helpers/HelperFormBootstrap.php +++ b/adm/helpers/HelperFormBootstrap.php @@ -160,7 +160,7 @@ class HelperFormBootstrap{ } } - public static function generateInput($input) { + public function generateInput($input) { $this->addInput($input); $result = $this->_html; diff --git a/modules/labelgenerate/AdminLabelGenerate.php b/modules/labelgenerate/AdminLabelGenerate.php index 5054245e..746bef7f 100644 --- a/modules/labelgenerate/AdminLabelGenerate.php +++ b/modules/labelgenerate/AdminLabelGenerate.php @@ -5,6 +5,7 @@ if(!defined('_PS_VERSION_')) { require_once dirname(__FILE__).'/../privatesales/Sale.php'; require_once dirname(__FILE__).'/models/generatebarcode.php'; +require_once(PS_ADMIN_DIR . '/helpers/HelperFormBootstrap.php'); class AdminLabelGenerate extends AdminTab { @@ -309,102 +310,195 @@ class AdminLabelGenerate extends AdminTab { } } - $this->_html .= '