18 if (!defined(
"NOLOGIN")) define(
"NOLOGIN",
'1');
19 if (!defined(
'NOIPCHECK')) define(
'NOIPCHECK',
'1');
20 if (!defined(
'NOREQUIRESOC')) define(
'NOREQUIRESOC',
'1');
21 if (!defined(
'NOCSRFCHECK')) define(
'NOCSRFCHECK',
'1');
22 if (!defined(
'NOTOKENRENEWAL')) define(
'NOTOKENRENEWAL',
'1');
23 if (!defined(
'NOREQUIREMENU')) define(
'NOREQUIREMENU',
'1');
24 if (!defined(
'NOREQUIREHTML')) define(
'NOREQUIREHTML',
'1');
25 if (!defined(
'NOREQUIREAJAX')) define(
'NOREQUIREAJAX',
'1');
27 require
'../../main.inc.php';
28 require
'../../core/modules/barcode/doc/tcpdfbarcode.modules.php';
30 $urlwithouturlroot = preg_replace(
'/'.preg_quote(DOL_URL_ROOT,
'/').
'$/i',
'', trim($dolibarr_main_url_root));
31 $urlwithroot = $urlwithouturlroot.DOL_URL_ROOT;
36 $result = $module->buildBarCode($urlwithroot.
"/takepos/public/auto_order.php?key=".$key,
'QRCODE',
'Y');
40 $result = $module->buildBarCode($urlwithroot.
"/takepos/public/menu.php",
'QRCODE',
'Y');
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.
Class to generate barcode images using tcpdf barcode generator.