{% extends "ledger/base.html" %} {% load ledger_tags %} {% block title %}Rules{% endblock %} {% block content %}
Rules run before the learned model. Highest priority wins; the regex is matched case-insensitively against the raw description and the merchant name.
| Name | Pattern | Amount | Category | Priority | |
|---|---|---|---|---|---|
| {{ 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 }} | |
| No rules yet. | |||||