20 if (!defined(
"NOLOGIN")) {
21 define(
"NOLOGIN",
'1');
23 if (!defined(
'NOIPCHECK')) {
24 define(
'NOIPCHECK',
'1');
26 if (!defined(
'NOREQUIRESOC')) {
27 define(
'NOREQUIRESOC',
'1');
29 if (!defined(
'NOTOKENRENEWAL')) {
30 define(
'NOTOKENRENEWAL',
'1');
32 if (!defined(
'NOREQUIREMENU')) {
33 define(
'NOREQUIREMENU',
'1');
35 if (!defined(
'NOREQUIREHTML')) {
36 define(
'NOREQUIREHTML',
'1');
38 if (!defined(
'NOREQUIREAJAX')) {
39 define(
'NOREQUIREAJAX',
'1');
43 require
'../../main.inc.php';
44 require
'../../core/modules/barcode/doc/tcpdfbarcode.modules.php';
46 $urlwithouturlroot = preg_replace(
'/'.preg_quote(DOL_URL_ROOT,
'/').
'$/i',
'', trim($dolibarr_main_url_root));
47 $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT;
59 $result = $module->buildBarCode($urlwithroot.
"/takepos/public/auto_order.php?key=".$key,
'QRCODE',
'Y');
62 $result = $module->buildBarCode($urlwithroot.
"/takepos/public/menu.php",
'QRCODE',
'Y');
Class to generate barcode images using tcpdf barcode generator.
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.
GETPOSTISSET($paramname)
Return true if we are in a context of submitting the parameter $paramname from a POST of a form.