{% extends "base.html" %} {% import "macros.html" as m %} {% block title %}{{ company.name }}{% endblock %} {% block content %}

{{ company.name }}

{% if company.product_oneliner %}

{{ company.product_oneliner }}

{% endif %}
{% if company.website %}{{ company.website | replace('https://', '') | replace('http://', '') }}{% endif %} {% if company.linkedin %}linkedin{% endif %} {{ company.stage }}{% if company.lost_reason %} ({{ company.lost_reason }}){% endif %}{% if company.requalify_on %}, requalifies on {{ fmt_date(company.requalify_on) }}{% endif %} · {{ company.days_in_stage(today) }}d in stage last touch: {{ company.last_touch_summary }} {% for f in custom_fields_for('company') if f.shows_in('detail') and company.extra.get(f.key) not in (none, '') %} {{ f.label }} {{ f.display(company.extra.get(f.key)) }} {% endfor %} {% if company.stage in ['disqualified', 'temp-disqualified'] %}
{% else %}
Disqualify
{% endif %}
{% if enricher and enricher.available %}
{% endif %}
Fetch from URL
{% set nxt = company.next_todo() %}
next step: {{ (nxt.text or '(no text)') if nxt else 'none' }}{% if nxt and nxt.contact %} ({{ nxt.contact.name }}){% endif %}{% if nxt and nxt.due %}, due {{ fmt_date(nxt.due) }}{% endif %} {% if nxt %} {{ 'done' if nxt.done else 'open' }} {{ m.todo_actions(company, nxt) }} {% if nxt.due and not nxt.done %} Add to Google Calendar {% endif %} {% endif %} all tasks

Company

{{ m.errors_box(errors) }}
{{ m.company_fields(values, errors) }}

slug {{ company.slug }} · created {{ fmt_datetime(company.created) }} · updated {{ fmt_datetime(company.updated) }} · stage changed {{ fmt_date(company.stage_changed) }}

{% if company.stage_history %}
Stage history ({{ company.stage_history | length }})
{% for e in company.stage_history | reverse %} {% endfor %}
datefromtoreason
{{ fmt_date(e.date) }}{{ e.from_stage or '-' }}{{ e.to_stage }}{{ e.reason }}
{% endif %}

Contacts ({{ company.contacts | length }})

{% for slug, c in company.contacts.items() %} {% else %} {% endfor %}
nametitleroleemaillinkedin
{{ c.name }} {{ c.title }} {{ c.role }} {% if c.email %}{{ c.email }}{% endif %} {% if c.linkedin %}profile{% endif %} log · drafts
No contacts yet.

New contact · an interaction is always with a person: log it, or a note, on their page.

{{ m.task_section(company, today) }} {{ m.drafts_section(company, draft_contact, drafts, signal, observation, '/companies/' ~ company.slug) }}

Merge

Timeline ({{ company.interactions | length }})

{{ m.timeline(company, company.interactions) }}
{% if focus == 'lost_reason' %} {% endif %} {% endblock %}