|
@@ -166,6 +166,15 @@ if (GETPOST('button_removefilter_x', 'alpha') || GETPOST('button_removefilter.x'
|
|
|
}
|
|
|
|
|
|
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') {
|
|
|
$receptions = GETPOST('toselect', 'array');
|
|
|
$createbills_onebythird = GETPOST('createbills_onebythird', 'int');
|