{% comment %}
kanban
A kanban view for displaying records from a queryset in a kanban board format.
Supports drag-and-drop functionality for moving items between columns.
Parameters:
- content_type_id (int): The content type ID for the model being displayed.
- queryset (QuerySet): The Django queryset containing the records to be displayed.
- fields (list): The list of fields to display on each card.
- avatar_field (ApplicationField): The selected avatar field, when visible.
- preference (UserListViewPreference): The user's view preferences.
- kanban_groups (list): List of groups with 'value', 'label', 'items', 'count' keys.
- group_by_field (ApplicationField): The field used for grouping.
TODO: This and dataview_kanban_cards need to be merged
{% endcomment %}
{% load bloomerp %}
{% if kanban_groups %}
{% for group in kanban_groups %}
{{ group.label }}
{{ group.count }}
{% include "components/objects/dataview_kanban_cards.html" %}