Debug v17
This commit is contained in:
parent
4539d57a12
commit
20ee97fb9a
@ -945,12 +945,12 @@ if ($user->hasRight("societe", "creer")) {
|
|||||||
if ($user->hasRight("societe", "creer")) {
|
if ($user->hasRight("societe", "creer")) {
|
||||||
$arrayofmassactions['presetcommercial'] = img_picto('', 'user', 'class="pictofixedwidth"').$langs->trans("AllocateCommercial");
|
$arrayofmassactions['presetcommercial'] = img_picto('', 'user', 'class="pictofixedwidth"').$langs->trans("AllocateCommercial");
|
||||||
}
|
}
|
||||||
if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete', 'preaffecttag', 'preenable', 'preclose'))) {
|
|
||||||
$arrayofmassactions = array();
|
|
||||||
}
|
|
||||||
if ($user->hasRight('societe', 'supprimer')) {
|
if ($user->hasRight('societe', 'supprimer')) {
|
||||||
$arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete");
|
$arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete");
|
||||||
}
|
}
|
||||||
|
if (GETPOST('nomassaction', 'int') || in_array($massaction, array('presend', 'predelete', 'preaffecttag', 'preenable', 'preclose'))) {
|
||||||
|
$arrayofmassactions = array();
|
||||||
|
}
|
||||||
$massactionbutton = $form->selectMassAction('', $arrayofmassactions);
|
$massactionbutton = $form->selectMassAction('', $arrayofmassactions);
|
||||||
|
|
||||||
$typefilter = '';
|
$typefilter = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user