18 if (!defined(
"NOLOGIN")) {
19 define(
"NOLOGIN",
'1');
21 if (!defined(
'NOIPCHECK')) {
22 define(
'NOIPCHECK',
'1');
24 if (!defined(
'NOREQUIRESOC')) {
25 define(
'NOREQUIRESOC',
'1');
27 if (!defined(
'NOCSRFCHECK')) {
28 define(
'NOCSRFCHECK',
'1');
30 if (!defined(
'NOTOKENRENEWAL')) {
31 define(
'NOTOKENRENEWAL',
'1');
33 if (!defined(
'NOREQUIREMENU')) {
34 define(
'NOREQUIREMENU',
'1');
36 if (!defined(
'NOREQUIREHTML')) {
37 define(
'NOREQUIREHTML',
'1');
39 if (!defined(
'NOREQUIREAJAX')) {
40 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;
52 $result = $module->buildBarCode($urlwithroot.
"/takepos/public/auto_order.php?key=".$key,
'QRCODE',
'Y');
55 $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 from a POST of a form...
Class to generate barcode images using tcpdf barcode generator.