Added ption to turn-off auto-match on direct requests

This commit is contained in:
Andreas Kristiansen
2025-08-04 11:47:31 +02:00
parent 4a4b07264d
commit 2fce91899a
3 changed files with 53 additions and 9 deletions

View File

@@ -717,6 +717,15 @@
</select>
<small id="oqrs_auto_matching_help" class="form-text text-muted"><?= __("If this is on, automatic OQRS matching will happen, and the system will try to match incoming requests with existing logs automatically."); ?></small>
</div>
<div class="mb-3">
<label for="oqrs_direct_auto_matching"><?= __("Automatic OQRS matching for direct requests"); ?></label>
<select name="oqrs_direct_auto_matching" class="form-select" id="oqrs_direct_auto_matching">
<option value="off" <?php if(($oqrs_direct_auto_matching ?? 'on') == "off") { echo "selected=\"selected\""; } ?>><?= __("Off"); ?></option>
<option value="on" <?php if(($oqrs_direct_auto_matching ?? 'on') == "on") { echo "selected=\"selected\""; } ?>><?= __("On"); ?></option>
</select>
<small id="oqrs_direct_auto_matching_help" class="form-text text-muted"><?= __("If this is on, automatic OQRS matching for direct request will happen."); ?></small>
</div>
</div>
</div>
</div>