Update list.php
This commit is contained in:
parent
5a68718eb2
commit
3b2a27de16
@ -827,8 +827,11 @@ if ($resql) {
|
|||||||
$arrayofmassactions = array(
|
$arrayofmassactions = array(
|
||||||
'generate_doc'=>img_picto('', 'pdf').' '.$langs->trans("ReGeneratePDF"),
|
'generate_doc'=>img_picto('', 'pdf').' '.$langs->trans("ReGeneratePDF"),
|
||||||
'builddoc'=>img_picto('', 'pdf').' '.$langs->trans("PDFMerge"),
|
'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) {
|
if ($permissiontovalidate) {
|
||||||
$arrayofmassactions['prevalidate']=img_picto('', 'check').' '.$langs->trans("Validate");
|
$arrayofmassactions['prevalidate']=img_picto('', 'check').' '.$langs->trans("Validate");
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user