{% load bloomerp %} {% load crispy_forms_tags %}
{% for type in types %} {% endfor %}
Data Select the fields required to build your analytics tiles. They are based on the columns that were defined in your query.
{% for draggable_field in tile_type_definition.fields %}
{% with selectable_fields=available_output_fields|get_item:draggable_field.key %} {% for field in selectable_fields %} {% empty %} No compatible fields found. {% endfor %} {% endwith %}
{% with added_fields=config.fields|get_item:draggable_field.key %} {% for added_field in added_fields %} {% with slot_forms=field_opts_forms|get_item:draggable_field.key %} {% with field_opts_form=slot_forms|get_item:added_field.name %} {% if field_opts_form %}
{% for field in field_opts_form.visible_fields %}
{{ field|as_crispy_field }}
{% endfor %}
{% endif %} {% endwith %} {% endwith %}
{% empty %} No fields selected yet. {% endfor %} {% endwith %}
{% endfor %}
{% if has_global_opts %}
Options Global options for your tile. These may include things like chart type, colors, etc.
{% for field in global_opts_form.visible_fields %}
{{ field|as_crispy_field }}
{% endfor %}
{% endif %}