This commit is contained in:
Laurent Destailleur 2020-05-05 15:26:41 +02:00
parent eda22f4270
commit 797beef79f

View File

@ -297,7 +297,7 @@ if (empty($reshook))
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php'; include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
} }
if($massaction == 'reglement'){ if ($massaction == 'makepayment'){
$arrayofselected=is_array($toselect)?$toselect:array(); $arrayofselected=is_array($toselect)?$toselect:array();
$loc = dol_buildpath('/compta/paiement.php', 2).'?action=create&facids='.implode(',', $arrayofselected); $loc = dol_buildpath('/compta/paiement.php', 2).'?action=create&facids='.implode(',', $arrayofselected);
@ -665,7 +665,7 @@ if ($resql)
'generate_doc'=>$langs->trans("ReGeneratePDF"), 'generate_doc'=>$langs->trans("ReGeneratePDF"),
'builddoc'=>$langs->trans("PDFMerge"), 'builddoc'=>$langs->trans("PDFMerge"),
'presend'=>$langs->trans("SendByMail"), 'presend'=>$langs->trans("SendByMail"),
'reglement'=>$langs->trans("InvoicePaymentsLimits"), //'makepayment'=>$langs->trans("InvoicePaymentsLimits"), TODO Blank page when using this
); );
if ($conf->prelevement->enabled) { if ($conf->prelevement->enabled) {
$langs->load("withdrawals"); $langs->load("withdrawals");