2
0
forked from Wavyzz/dolibarr

FIX: deposit payment terms: adapt Form::form_conditions_reglement() calls to new parameter added in between PRs

This commit is contained in:
Marc de Lima Lucio
2021-10-13 11:39:09 +02:00
parent 29768a1c6e
commit 9a963da77c
5 changed files with 8 additions and 8 deletions

View File

@@ -1592,7 +1592,7 @@ if ($resql) {
// Payment terms
if (!empty($arrayfields['c.fk_cond_reglement']['checked'])) {
print '<td>';
$form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 0, 1, $obj->deposit_percent);
$form->form_conditions_reglement($_SERVER['PHP_SELF'], $obj->fk_cond_reglement, 'none', 0, '', 1, $obj->deposit_percent);
print '</td>';
if (!$i) {
$totalarray['nbfield']++;