{{ header }}{{ column_left }}
{% if error_warning %}
{{ error_warning }}
{% endif %} {% if saved_settings.module_retailcrm_url is defined %} {% endif %}

{{ retailcrm_base_settings }}




{{ retailcrm_countries_settings }}

{% for country in countries %}
{% endfor %}
{% if saved_settings.module_retailcrm_apikey is defined and saved_settings.module_retailcrm_apikey and saved_settings.module_retailcrm_url is defined and saved_settings.module_retailcrm_url %} {% if retailcrm_errors|length %} {% for retailcrm_error in retailcrm_errors %}
{{ retailcrm_error }}
{% endfor %} {% else %}

{{ retailcrm_upload_order }}

{{ retailcrm_dict_settings }}

{{ retailcrm_dict_delivery }}

{% for value in delivery.opencart %}
{{ value.title ~ ':' }}
{% for key, val in value %} {% if key != 'title' %}
{% endif %} {% endfor %} {% endfor %}

{{ retailcrm_dict_status }}

{% for status in statuses.opencart %} {% set uid = status.order_status_id %}
{% endfor %}

{{ retailcrm_dict_payment }}

{% for key, value in payments.opencart %}
{% endfor %} {% endif %} {% endif %}

{{ daemon_collector }}

{% if saved_settings.module_retailcrm_collector.site_key is not empty and saved_settings.module_retailcrm_collector_active == 1 %}
{% if saved_settings.module_retailcrm_collector.form_capture is defined and saved_settings.module_retailcrm_collector.form_capture == 1 %}
{% if saved_settings.module_retailcrm_collector.custom_form is defined and saved_settings.module_retailcrm_collector.custom_form == 1 %} {% for field, label in collectorFields %}
{# #}
{% endfor %} {% endif %} {% endif %} {% endif %}
{{ footer }}