Fix fieldrequired

This commit is contained in:
Laurent Destailleur
2024-02-11 21:51:27 +01:00
parent 31816168da
commit dbc6027d9b

View File

@@ -257,9 +257,9 @@ if ($action == 'create') {
print '</td></tr>';
// Chart of accounts type
print '<tr><td>';
print '<tr><td><span class="fieldrequired">';
print $form->textwithpicto($langs->trans("Pcgtype"), $langs->transnoentitiesnoconv("PcgtypeDesc"));
print '</td>';
print '</span></td>';
print '<td>';
print '<input type="text" name="pcg_type" list="pcg_type_datalist" value="'.dol_escape_htmltag(GETPOSTISSET('pcg_type') ? GETPOST('pcg_type', 'alpha') : $object->pcg_type).'">';
// autosuggest from existing account types if found