Update list.php
This commit is contained in:
parent
8baa529719
commit
97f161b276
@ -590,13 +590,10 @@ if ($resql)
|
|||||||
$arrayofmassactions['withdrawrequest'] = $langs->trans("MakeWithdrawRequest");
|
$arrayofmassactions['withdrawrequest'] = $langs->trans("MakeWithdrawRequest");
|
||||||
}
|
}
|
||||||
if ($user->rights->facture->supprimer) {
|
if ($user->rights->facture->supprimer) {
|
||||||
//if (! empty($conf->global->STOCK_CALCULATE_ON_BILL) || empty($conf->global->INVOICE_CAN_ALWAYS_BE_REMOVED))
|
|
||||||
if (!empty($conf->global->INVOICE_CAN_REMOVE_DRAFT_ONLY)) {
|
if (!empty($conf->global->INVOICE_CAN_REMOVE_DRAFT_ONLY)) {
|
||||||
$arrayofmassactions['predeletedraft'] = $langs->trans("Deletedraft");
|
$arrayofmassactions['predeletedraft'] = $langs->trans("Deletedraft");
|
||||||
|
|
||||||
}
|
}
|
||||||
elseif (!empty($conf->global->INVOICE_CAN_ALWAYS_BE_REMOVED)) {
|
elseif (!empty($conf->global->INVOICE_CAN_ALWAYS_BE_REMOVED)) { // mass deletion never possible on invoices on such situation
|
||||||
// mass deletion never possible on invoices on such situation
|
|
||||||
$arrayofmassactions['predelete'] = $langs->trans("Delete");
|
$arrayofmassactions['predelete'] = $langs->trans("Delete");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user