Update list.php

This commit is contained in:
Anthony Berton 2021-04-14 02:35:39 +02:00
parent 5a68718eb2
commit 3b2a27de16

View File

@ -827,8 +827,11 @@ if ($resql) {
$arrayofmassactions = array(
'generate_doc'=>img_picto('', 'pdf').' '.$langs->trans("ReGeneratePDF"),
'builddoc'=>img_picto('', 'pdf').' '.$langs->trans("PDFMerge"),
'presend'=>img_picto('', 'email').' '.$langs->trans("SendByMail"),
);
if ($permissiontosendbymail) {
$arrayofmassactions['presend']=img_picto('', 'email').' '.$langs->trans("SendByMail");
}
if ($permissiontovalidate) {
$arrayofmassactions['prevalidate']=img_picto('', 'check').' '.$langs->trans("Validate");
}