Merge branch 'develop' of git@github.com:Dolibarr/dolibarr.git into develop
This commit is contained in:
commit
eda22f4270
@ -556,6 +556,12 @@ foreach ($accounts as $key=>$type)
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Extra fields
|
// Extra fields
|
||||||
|
if (is_array($objecttmp->array_options)) {
|
||||||
|
$obj = new stdClass();
|
||||||
|
foreach ($objecttmp->array_options as $k => $v) {
|
||||||
|
$obj->$k = $v;
|
||||||
|
}
|
||||||
|
}
|
||||||
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
|
include DOL_DOCUMENT_ROOT.'/core/tpl/extrafields_list_print_fields.tpl.php';
|
||||||
// Fields from hook
|
// Fields from hook
|
||||||
$parameters = array('arrayfields'=>$arrayfields);
|
$parameters = array('arrayfields'=>$arrayfields);
|
||||||
|
|||||||
@ -297,7 +297,15 @@ if (empty($reshook))
|
|||||||
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
include DOL_DOCUMENT_ROOT.'/core/actions_massactions.inc.php';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($massaction == 'withdrawrequest')
|
if($massaction == 'reglement'){
|
||||||
|
$arrayofselected=is_array($toselect)?$toselect:array();
|
||||||
|
|
||||||
|
$loc = dol_buildpath('/compta/paiement.php', 2).'?action=create&facids='.implode(',', $arrayofselected);
|
||||||
|
|
||||||
|
header('Location: '.$loc);
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
elseif ($massaction == 'withdrawrequest')
|
||||||
{
|
{
|
||||||
$langs->load("withdrawals");
|
$langs->load("withdrawals");
|
||||||
|
|
||||||
@ -657,6 +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"),
|
||||||
);
|
);
|
||||||
if ($conf->prelevement->enabled) {
|
if ($conf->prelevement->enabled) {
|
||||||
$langs->load("withdrawals");
|
$langs->load("withdrawals");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user