Fix CI
This commit is contained in:
parent
7bfef435f5
commit
c2539ae415
2 changed files with 8 additions and 8 deletions
|
|
@ -694,7 +694,7 @@ class FormListWebPortal
|
|||
}
|
||||
// Remain to pay
|
||||
if (array_key_exists('remain_to_pay', $arrayfields) && !empty($arrayfields['remain_to_pay']['checked'])) {
|
||||
// @phan-suppress-next-line PhanTypeMismatchArgument
|
||||
// @phan-suppress-next-line PhanTypeMismatchArgument PhanTypeInvalidDimOffset
|
||||
$html .= $this->form->showOutputFieldForObject($object, $arrayfields['remain_to_pay'], 'remain_to_pay', $remaintopay, '');
|
||||
//$html .= price($remaintopay);
|
||||
$html .= '</td>';
|
||||
|
|
|
|||
|
|
@ -979,14 +979,14 @@ class FormWebPortal extends Form
|
|||
/**
|
||||
* Return HTML string to show a field into a page
|
||||
*
|
||||
* @param CommonObject $object Common object
|
||||
* @param CommonObject $object Common object
|
||||
* @param array{type:string,label:string,enabled:int<0,2>|string,position:int,notnull?:int,visible:int,noteditable?:int,default?:string,index?:int,foreignkey?:string,searchall?:int,isameasure?:int,css?:string,csslist?:string,help?:string,showoncombobox?:int,disabled?:int,arrayofkeyval?:array<int,string>,comment?:string} $val Array of properties of field to show
|
||||
* @param string $key Key of attribute
|
||||
* @param string|string[] $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
|
||||
* @param string $moreparam To add more parameters on html input tag
|
||||
* @param string $keysuffix Prefix string to add into name and id of field (can be used to avoid duplicate names)
|
||||
* @param string $keyprefix Suffix string to add into name and id of field (can be used to avoid duplicate names)
|
||||
* @param mixed $morecss Value for css to define size. May also be a numeric.
|
||||
* @param string $key Key of attribute
|
||||
* @param string|string[] $value Preselected value to show (for date type it must be in timestamp format, for amount or price it must be a php numeric value)
|
||||
* @param string $moreparam To add more parameters on html input tag
|
||||
* @param string $keysuffix Prefix string to add into name and id of field (can be used to avoid duplicate names)
|
||||
* @param string $keyprefix Suffix string to add into name and id of field (can be used to avoid duplicate names)
|
||||
* @param mixed $morecss Value for css to define size. May also be a numeric.
|
||||
* @return string
|
||||
*/
|
||||
public function showOutputFieldForObject($object, $val, $key, $value, $moreparam = '', $keysuffix = '', $keyprefix = '', $morecss = '')
|
||||
|
|
|
|||
Loading…
Reference in a new issue