24 require
'../../main.inc.php';
29 $langs->load(
"cashdesk");
33 $_GET[
'optioncss'] =
"print";
38 print '<h1><b>'.$langs->trans(
"ScanToOrder").
'</b></h1>';
39 print "<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php?key=".
dol_encode($id).
"' width='30%'>";
42 print '<h1><b>'.$langs->trans(
"ScanToMenu").
'</b></h1>';
43 print "<img src='".DOL_URL_ROOT.
"/takepos/genimg/qr.php' width='30%'>";
46 print '<h1><b>'.$mysoc->name.
'</b></h1>';
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.
dol_encode($chain, $key= '1')
Encode a string with base 64 algorithm + specific delta change.
accessforbidden($message= '', $printheader=1, $printfooter=1, $showonlymessage=0, $params=null)
Show a message to say access is forbidden and stop program Calling this function terminate execution ...
print
Draft customers invoices.