Update list.php
This commit is contained in:
parent
6324879215
commit
d294bd544d
@ -812,29 +812,29 @@ if ($resql) {
|
|||||||
|
|
||||||
// List of mass actions available
|
// List of mass actions available
|
||||||
$arrayofmassactions = array(
|
$arrayofmassactions = array(
|
||||||
'generate_doc'=>img_picto('', 'pdf').' '.$langs->trans("ReGeneratePDF"),
|
'generate_doc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("ReGeneratePDF"),
|
||||||
'builddoc'=>img_picto('', 'pdf').' '.$langs->trans("PDFMerge"),
|
'builddoc'=>img_picto('', 'pdf', 'class="pictofixedwidth"').$langs->trans("PDFMerge"),
|
||||||
);
|
);
|
||||||
if ($permissiontovalidate) {
|
if ($permissiontovalidate) {
|
||||||
$arrayofmassactions['prevalidate'] = img_picto('', 'check').' '.$langs->trans("Validate");
|
$arrayofmassactions['prevalidate'] = img_picto('', 'check', 'class="pictofixedwidth"').$langs->trans("Validate");
|
||||||
}
|
}
|
||||||
if ($permissiontosendbymail) {
|
if ($permissiontosendbymail) {
|
||||||
$arrayofmassactions['presend'] = img_picto('', 'email').' '.$langs->trans("SendByMail");
|
$arrayofmassactions['presend'] = img_picto('', 'email', 'class="pictofixedwidth"').$langs->trans("SendByMail");
|
||||||
}
|
}
|
||||||
if ($permissiontoclose) {
|
if ($permissiontoclose) {
|
||||||
$arrayofmassactions['preshipped'] = img_picto('', 'dollyrevert').' '.$langs->trans("ClassifyShipped");
|
$arrayofmassactions['preshipped'] = img_picto('', 'dollyrevert', 'class="pictofixedwidth"').$langs->trans("ClassifyShipped");
|
||||||
}
|
}
|
||||||
if ($permissiontocancel) {
|
if ($permissiontocancel) {
|
||||||
$arrayofmassactions['cancelorders'] = img_picto('', 'close_title').' '.$langs->trans("Cancel");
|
$arrayofmassactions['cancelorders'] = img_picto('', 'close_title', 'class="pictofixedwidth"').$langs->trans("Cancel");
|
||||||
}
|
}
|
||||||
if ($user->rights->facture->creer) {
|
if ($user->rights->facture->creer) {
|
||||||
$arrayofmassactions['createbills'] = img_picto('', 'bill').' '.$langs->trans("CreateInvoiceForThisCustomer");
|
$arrayofmassactions['createbills'] = img_picto('', 'bill', 'class="pictofixedwidth"').$langs->trans("CreateInvoiceForThisCustomer");
|
||||||
}
|
}
|
||||||
if ($permissiontoclose) {
|
if ($permissiontoclose) {
|
||||||
$arrayofmassactions['setbilled'] = img_picto('', 'bill').' '.$langs->trans("ClassifyBilled");
|
$arrayofmassactions['setbilled'] = img_picto('', 'bill', 'class="pictofixedwidth"').$langs->trans("ClassifyBilled");
|
||||||
}
|
}
|
||||||
if ($permissiontodelete) {
|
if ($permissiontodelete) {
|
||||||
$arrayofmassactions['predelete'] = img_picto('', 'delete').' '.$langs->trans("Delete");
|
$arrayofmassactions['predelete'] = img_picto('', 'delete', 'class="pictofixedwidth"').$langs->trans("Delete");
|
||||||
}
|
}
|
||||||
if (in_array($massaction, array('presend', 'predelete', 'createbills'))) {
|
if (in_array($massaction, array('presend', 'predelete', 'createbills'))) {
|
||||||
$arrayofmassactions = array();
|
$arrayofmassactions = array();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user