FIX|fix Webportal remain to pay column (#34159)

* fix ramin to pay column

* Update html.formlistwebportal.class.php

* Update html.formlistwebportal.class.php

---------

Co-authored-by: Laurent Destailleur <eldy@destailleur.fr>
This commit is contained in:
Expresion
2025-05-17 16:19:27 +02:00
committed by GitHub
parent 026a5c9e8e
commit dc9e073c1e

View File

@@ -694,6 +694,8 @@ class FormListWebPortal
}
// Remain to pay
if (array_key_exists('remain_to_pay', $arrayfields) && !empty($arrayfields['remain_to_pay']['checked'])) {
// @phan-suppress-next-line PhanTypeInvalidDimOffset
$html .= '<td class="nowraponall" data-label="' . dolPrintHTMLForAttribute((string) $arrayfields['remain_to_pay']['label']) . '">';
// @phan-suppress-next-line PhanTypeMismatchArgument PhanTypeInvalidDimOffset
$html .= $this->form->showOutputFieldForObject($object, $arrayfields['remain_to_pay'], 'remain_to_pay', $remaintopay, '');
//$html .= price($remaintopay);