{# One row in the Plan table. Inputs: r (PlanRow). #} {% if plan_view.sort_key == 'manual' %} {% endif %}
{{ r.symbol }}
{% include "_positions_plan_tag_chip_editor.html" %} {% if r.target_unit.value == 'usd' %}${{ "%.2f"|format(r.target_amount|float) }} {% else %}{{ "%.2f"|format(r.target_amount|float) }} sh{% endif %}
{% if r.target_unit.value == 'usd' %} {% if r.target_share_equiv %}≈ {{ "%.2f"|format(r.target_share_equiv|float) }} sh{% else %}—{% endif %} {% else %} {% if r.target_dollar_equiv %}≈ ${{ "%.2f"|format(r.target_dollar_equiv|float) }}{% else %}—{% endif %} {% endif %}
{% if r.is_held %} ${{ "%.2f"|format(r.current_dollar|float) }}
{{ "%.2f"|format(r.current_shares|float) }} sh
{% else %}
not held
{% endif %} {% if r.gap_dollar > 0 %}+{% endif %}${{ "%.2f"|format(r.gap_dollar|float) }} {% if r.gap_shares is not none %}
{% if r.gap_shares > 0 %}+{% endif %}{{ "%.2f"|format(r.gap_shares|float) }} sh{% if r.gap_dollar < 0 %} (over){% endif %}
{% endif %} {% include "_positions_plan_bullet.html" %} {% if r.last_price %}${{ "%.2f"|format(r.last_price|float) }}{% else %}{% endif %}