This commit is contained in:
ldestailleur 2025-08-25 22:26:15 +02:00
parent 5fe445c0da
commit 6e435f6be8
2 changed files with 2 additions and 2 deletions

View file

@ -495,7 +495,7 @@ print '<br>';
print '</div>';
print '<br><input type="submit" class="button" id="submitformbarcodegen" '.((GETPOST("selectorforbarcode") && GETPOST("selectorforbarcode")) ? '' : 'disabled ').'value="'.$langs->trans("BuildPageToPrint").'">';
print '<br><input type="submit" class="button" id="submitformbarcodegen" '.(GETPOST("selectorforbarcode") ? '' : 'disabled ').'value="'.$langs->trans("BuildPageToPrint").'">';
print '</form>';
print '<br>';

View file

@ -292,7 +292,7 @@ if ($action == "create" || $action == "start" || $action == 'close') {
$syear = $object->year_close;
$smonth = $object->month_close;
$sday = $object->day_close;
} elseif (GETPOST('posnumber', 'alpha') != '' && GETPOST('posnumber', 'alpha') != '' && GETPOST('posnumber', 'alpha') != '-1') {
} elseif (GETPOST('posnumber', 'alpha') != '' && GETPOST('posnumber', 'alpha') != '-1') {
$posmodule = GETPOST('posmodule', 'alpha');
$terminalid = GETPOST('posnumber', 'alpha');
$terminaltouse = $terminalid;