{% extends 'ui/base.html' %} {% load static %} {% load humanize %} {% block title %} - Your export wins{% endblock %} {% block header %}Your export wins{% endblock %} {% block moved-to-datahub %}

Export Wins has moved, all new wins must be added to Data Hub.

{% endblock moved-to-datahub %} {% block content %} {% comment %} {{ win.company_name }} send to customer {% endcomment %}
{% if not unsent and not sent and not responded %}

You haven't created any wins yet.

{% include "wins/partials/moving-to-datahub.html" %}
{% else %} {% include "wins/partials/moving-to-datahub.html" %}

Unsent wins ({{ unsent | length }})

{% if not unsent %}

You don't have any unsent wins.

{% else %}
{% for win in unsent %} {% endfor %}
UK Company Export to Customer name Export amount Date won Last modified (Sorted by this field)
{{ win.company_name }} {{ win.country_name }} {{ win.customer_name }} £{{ win.total_expected_export_value | intcomma }} {{ win.date | date:'M Y' }} {{ win.last_modified | date:"d M Y" }}
{% endif %}

Sent to customer ({{ sent | length }})

{% if not sent %}

You don't have any sent wins.

{% else %}
{% for win in sent %} {% endfor %}
UK Company Export to Customer name Export amount Date won Date
first sent (Sorted by this field)
Date
last sent
{{ win.company_name }} {{ win.country_name }} {{ win.customer_name }} £{{ win.total_expected_export_value | intcomma }} {{ win.date | date:'M Y' }} {{ win.sent.0 | date:'d M Y' }} {{ win.sent | last | date:'d M Y' }}
{% endif %}

Customer responded ({{ responded | length }})

{% if not responded %}

You don't have any responses.

{% else %}
{% for win in responded %} {% endfor %}
UK Company (Sorted by this field) Export to Value attributed
to our help
Export amount Date won Date responded
{{ win.company_name }} {{ win.country_name }} {{ win.responded.our_help }} £{{ win.total_expected_export_value | intcomma }} {{ win.date | date:'M Y' }} {{ win.responded.created | date:"d M Y" }}
{% endif %} Create new win {% endif %}
{% endblock content %}