Add hook massaction to reception list.
This commit is contained in:
parent
e9cfb9b69c
commit
40da139225
@ -166,6 +166,15 @@ if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x'
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
|
// Mass actions
|
||||||
|
$objectclass = 'Reception';
|
||||||
|
$objectlabel = 'Receptions';
|
||||||
|
$permissiontoread = $user->rights->reception->lire;
|
||||||
|
$permissiontoadd = $user->rights->reception->creer;
|
||||||
|
$permissiontodelete = $user->rights->reception->supprimer;
|
||||||
|
$uploaddir = $conf->reception->multidir_output[$conf->entity];
|
||||||
|
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||||
|
|
||||||
if ($massaction == 'confirm_createbills') {
|
if ($massaction == 'confirm_createbills') {
|
||||||
$receptions = GETPOST('toselect', 'array');
|
$receptions = GETPOST('toselect', 'array');
|
||||||
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
|
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user