{# Drafts written by routines (hermitcrm/routines.py): shown on Home while there are any. Nothing here is ever sent: the user sends it, then logs it with "I sent it". #}

Drafts from routines ({{ routine_drafts|length }})

Written by your routines. Nothing has been sent: edit a draft, send it yourself, then click I sent it to log it.

{% for row in routine_drafts %}{% set d = row.draft %}

{{ row.contact_name or row.company_name }}{% if row.contact_name %} {{ row.company_name }}{% endif %} {{ d.channel }}

{{ d.reason }} · {{ row.routine_title }}, {{ fmt_datetime(d.made) }}

{% if d.channel == 'email' %}{% endif %}
{% endfor %}