Fix min of import
This commit is contained in:
parent
5dbb588a6a
commit
c9f38c2c79
1 changed files with 2 additions and 2 deletions
|
|
@ -1675,10 +1675,10 @@ if ($step == 4 && $datatoimport) {
|
|||
print $langs->trans("ImportFromToLine");
|
||||
print '</td><td>';
|
||||
if ($action == 'launchsimu') {
|
||||
print '<input type="number" class="maxwidth50 right valignmiddle" name="excludefirstlinebis" disabled="disabled" value="'.$excludefirstline.'">';
|
||||
print '<input type="number" min="1" class="maxwidth50 right valignmiddle" name="excludefirstlinebis" disabled="disabled" value="'.$excludefirstline.'">';
|
||||
print '<input type="hidden" name="excludefirstline" value="'.$excludefirstline.'">';
|
||||
} else {
|
||||
print '<input type="number" class="maxwidth50 right valignmiddle" name="excludefirstline" value="'.$excludefirstline.'">';
|
||||
print '<input type="number" min="1" class="maxwidth50 right valignmiddle" name="excludefirstline" value="'.$excludefirstline.'">';
|
||||
print $form->textwithpicto("", $langs->trans("SetThisValueTo2ToExcludeFirstLine"));
|
||||
}
|
||||
print ' - ';
|
||||
|
|
|
|||
Loading…
Reference in a new issue