Update index.php

This commit is contained in:
Laurent Destailleur 2020-10-06 09:57:04 +02:00 committed by GitHub
parent bb0b9dc128
commit 351f80c540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -865,12 +865,12 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
</div>
<!-- Modal multicurrency box -->
<?php if (!empty($conf->multicurrency->enabled)){ ?>
<?php if (!empty($conf->multicurrency->enabled)) { ?>
<div id="ModalCurrency" class="modal">
<div class="modal-content">
<div class="modal-header">
<span class="close" href="#" onclick="document.getElementById('ModalCurrency').style.display = 'none';">&times;</span>
<h3><?php print $langs->trans("SetMultiCurrencyCode");?></h3>
<h3><?php print $langs->trans("SetMultiCurrencyCode"); ?></h3>
</div>
<div class="modal-body">
<?php
@ -882,12 +882,11 @@ if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) {
while ($obj = $db->fetch_object($resql))
print '<button type="button" class="block" onclick="location.href=\'index.php?setcurrency='.$obj->code.'\'">'.$obj->code.'</button>';
}
?>
</div>
</div>
</div>
<?php ? ?>
<?php } ?>
<div class="row1<?php if (empty($conf->global->TAKEPOS_HIDE_HEAD_BAR)) print 'withhead'; ?>">