2
0
forked from Wavyzz/dolibarr
This commit is contained in:
Christophe Battarel
2023-05-21 19:00:22 +02:00
parent 5b93781dec
commit 3cd835dc39

View File

@@ -134,7 +134,7 @@ if ($action == "addnote") {
<input type="submit" class="button takepospay clearboth" value="OK" onclick="Save(); return false;">
</form>
<?php
if ($action == 'freezone' && empty(getDolGlobalString("TAKEPOS_USE_DEFAULT_VATRATE_FOR_FREEZONE"))) {
if ($action == 'freezone' && getDolGlobalString("TAKEPOS_USE_DEFAULT_VATRATE_FOR_FREEZONE") == 0) {
require_once DOL_DOCUMENT_ROOT.'/core/class/html.form.class.php';
$form = new Form($db);