Merge pull request #24831 from altairisfr/noclose

NEW : TakePOS - add constant to force terminal selection
This commit is contained in:
Laurent Destailleur 2023-05-21 01:32:49 +02:00 committed by GitHub
commit 132d1dfd7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1089,7 +1089,11 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
<div id="ModalTerminal" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close" href="#" onclick="document.getElementById('ModalTerminal').style.display = 'none';">&times;</span>
<?php
if (empty($conf->global->TAKEPOS_FORCE_TERMINAL_SELECT)) {
?>
<span class="close" href="#" onclick="document.getElementById('ModalTerminal').style.display = 'none';">&times;</span>
<?php } ?>
<h3><?php print $langs->trans("TerminalSelect"); ?></h3>
</div>
<div class="modal-body">