{% extends "base.html" %} {% block title %}{{ t('Recurring') }} · {{ t(kinds[kind]) }}{% endblock %} {% block content %} {% set cur_branch = (rec.branch_id if rec and rec.branch_id else default_branch)|string %} {% set r = rec or {} %}
{{ t('Recurring Documents') }} · {{ t(kinds[kind]) }}

{{ r.name if r.id else t('New recurring') ~ ' ' ~ t(kinds[kind])|lower }}

{% if kind != 'entry' %}
{% endif %}
{% if kind != 'entry' %}
{% endif %}

{{ t('Schedule') }}

{{ t('every') }}
{{ t('Optional, e.g. the end of the contract.') }}
{{ t('Optional. Leave both empty to repeat until you stop it.') }}

{{ t('In names, descriptions and references, {month} becomes the month of the document (October 2026), {year} the year and {period} 2026-10.') }}

{% if kind == 'entry' %}{% include "entries/_lines.html" %}{% else %}{% include "invoices/_lines.html" %}{% endif %}

{{ t('When a document is created') }}

{{ t('Otherwise it is created as a draft for you to check and post.') }}
{% if kind == 'out_invoice' %}
{{ t('Only when it is posted straight away. Uses the customer email address.') }}
{% endif %}
{{ t('Cancel') }}
{% endblock %}