{% extends "basedocumentation.html" %} {% block title %}More Results of {{ campaign }}{% endblock %} {% block doccontent %}

{{ campaign }} is {{ campaign.status }}

{% ifequal campaign.type 1 %}

Premium Summary

{% ifequal campaign.status 'SUCCESSFUL' %}

Premiums offered:

{% for premium in campaign.premiums.all %} {% endfor %}
Premium ID Description
{{premium.id }}{{ premium.description }}

Premiums Earned:

{% for transaction in campaign.ungluer_transactions.all %} {% if transaction.premium and transaction.premium.type == 'CU' %} {% endif %} {% endfor %}
Premium ID Ungluer e-mail
{{ transaction.premium.id }}{{ transaction.user.email }}
{% endifequal %} {% endifequal %} {% ifequal campaign.type 2 %}

Buy to unglue campaign results

What should we have here? {% endifequal %} {% ifequal campaign.type 3 %}

Thanks for ungluing campaign results

What should we have here? {% endifequal %}

Transaction List

{% with campaign.ungluer_transactions as transactions %}

Transactions:

{% for transaction in transactions.all %} {% endfor %}
Date Executed Amount
{% if transaction.date_executed %}{{ transaction.date_executed }}{% else %}{{ transaction.date_payment }}{% endif %}${{ transaction.amount }}
{% endwith %} {% endblock %}