36 global $langs, $conf, $user;
37 $langs->load(
"withdrawals");
42 $titleoftab =
"WithdrawalsReceipts";
43 if ($object->type ==
'bank-transfer') {
44 $titleoftab =
"BankTransferReceipts";
47 $head[$h][0] = DOL_URL_ROOT.
'/compta/prelevement/card.php?id='.$object->id;
48 $head[$h][1] = $langs->trans($titleoftab);
49 $head[$h][2] =
'prelevement';
52 $head[$h][0] = DOL_URL_ROOT.
'/compta/prelevement/factures.php?id='.$object->id;
53 $head[$h][1] = $langs->trans(
"Bills");
54 $head[$h][2] =
'invoices';
57 $head[$h][0] = DOL_URL_ROOT.
'/compta/prelevement/fiche-rejet.php?id='.$object->id;
58 $head[$h][1] = $langs->trans(
"Rejects");
59 $head[$h][2] =
'rejects';
62 $head[$h][0] = DOL_URL_ROOT.
'/compta/prelevement/fiche-stat.php?id='.$object->id;
63 $head[$h][1] = $langs->trans(
"Statistics");
64 $head[$h][2] =
'statistics';
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).