{% extends "ledger/base.html" %} {% load ledger_tags %} {% block title %}Rules{% endblock %} {% block content %}

Categorization rules

Rules run before the learned model. Highest priority wins; the regex is matched case-insensitively against the raw description and the merchant name.

{% for r in rules %} {% empty %}{% endfor %}
NamePatternAmountCategoryPriority
{{ r.name|default:"-" }}{{ r.pattern }} {% if r.min_amount %}≥ {{ r.min_amount|money0 }}{% endif %} {% if r.max_amount %}≤ {{ r.max_amount|money0 }}{% endif %} {{ r.category.name }}{{ r.priority }}
{% csrf_token %}
No rules yet.

Add a rule

{% csrf_token %}
{% endblock %}