{% extends "global/Page.html" %} {% load otree %} {% block title %}Results of the round{% endblock %} {% block content %}
Round number{{ subsession.round_number }}
Your order in this round{{player.OrderQty}}
Demand in this round{{player.roundDemand}}
Profit till now{{player.profit}}
Cumulative profit till now{{player.cumulativeProfit}}

{% ifnotequal subsession.round_number 1 %}

Details of previous rounds

{% for past_player in player.in_previous_rounds %} {% endfor %}
Round No. Order Qty Demand Profit/Loss Cumulative Profit
{{ past_player.round_number}} {{ past_player.OrderQty }} {{ past_player.roundDemand }} {{ past_player.profit }} {{ past_player.cumulativeProfit }}
{% endifnotequal %} {% next_button %} {% endblock %}