38 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/setup.php';
39 $head[$h][1] = $langs->trans(
"Parameters");
40 $head[$h][2] =
'setup';
43 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/appearance.php';
44 $head[$h][1] = $langs->trans(
"Appearance");
45 $head[$h][2] =
'appearance';
48 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/receipt.php';
49 $head[$h][1] = $langs->trans(
"Printers").
' / '.$langs->trans(
"Receipt");
50 $head[$h][2] =
'receipt';
53 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/bar.php';
54 $head[$h][1] = $langs->trans(
"BarRestaurant");
59 for ($i = 1; $i <= $numterminals; $i++) {
60 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/terminal.php?terminal='.$i;
61 $head[$h][1] =
getDolGlobalString(
'TAKEPOS_TERMINAL_NAME_'.$i, $langs->trans(
"TerminalName", $i));
62 $head[$h][2] =
'terminal'.$i;
66 $head[$h][0] = DOL_URL_ROOT.
'/takepos/admin/other.php';
67 $head[$h][1] = $langs->trans(
"About");
68 $head[$h][2] =
'other';
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
complete_head_from_modules($conf, $langs, $object, &$head, &$h, $type, $mode='add', $filterorigmodule='')
Complete or removed entries into a head array (used to build tabs).
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
global $conf
The following vars must be defined: $type2label $form $conf, $lang, The following vars may also be de...
takepos_admin_prepare_head()
Prepare array with list of tabs.