This commit is contained in:
andreubisquerra 2020-05-08 18:51:49 +02:00 committed by GitHub
parent f8ad954854
commit b89b6d7679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,5 +32,5 @@ $key = GETPOST('key');
$urlwithouturlroot = preg_replace('/'.preg_quote(DOL_URL_ROOT, '/').'$/i', '', trim($dolibarr_main_url_root));
$urlwithroot = $urlwithouturlroot.DOL_URL_ROOT; // This is to use external domain name found into config file
$module = new modtcpdfbarcode($db);
$module = new modTcpdfbarcode($db);
$result = $module->buildBarCode($urlwithroot."/takepos/auto_order.php?key=".dol_encode($key), 'QRCODE', 'Y');