fixed the is_bank_id_exact_match field

This commit is contained in:
hongwei1 2019-08-19 11:02:17 +02:00
parent 6fd61834cd
commit 0b3c9cc94d
2 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@
</div>
<div class="col-xs-12 col-sm-2" align="center">
<select class="is_bank_id_exact_match form-control">
{% if method_routing.is_bank_id_exact_match == "false" %}
{% if method_routing.is_bank_id_exact_match == False %}
<option value="False">False</option>
<option value="True">True</option>
{% else %}

View File

@ -60,7 +60,7 @@ def methodrouting_save(request):
payload = {
'method_name' : method_name,
'connector_name': connector_name,
'is_bank_id_exact_match': bool(is_bank_id_exact_match),
'is_bank_id_exact_match': (is_bank_id_exact_match=="True"),
'bank_id_pattern':bank_id_pattern,
'parameters':eval(parameters),
'method_routing_id':method_routing_id