{{ extends 'otree/WaitPage.html' }}{{ block title }} {{title_text}} {{ endblock }} {{ block content }} {{body_text}}

--------------------------------------------------------------------------------------

: Results: Practice Round {{player.round_number}} of {{practice_num_rounds}}

{{if player.group.no_agreement == 1}} You run out of time and NO agreement was reached, so no trade occurred {{ else }} {{ if player.field_maybe_none('amount_accepted') == None and player.field_maybe_none('amount_accepted_q') == None }} Congratulations, one of your proposal was accepted: {{group.deal_price_q|to1}} units of Output for {{ group.deal_price|cu|to1 }}. {{ else }} Congratulations, you accepted the following proposal: {{group.deal_price_q|to1}} units of Output for {{ group.deal_price|cu|to1 }}. {{ endif }} {{endif}}
{{ if player.role == 'Buyer' }}

So, after receiving your round endowment of {{endowment|cu|to1}}:
Total Payoff for the round is:
{{player.amount_borrowed|cu|to1}}-{{principal_plus_interest|cu|to1}}+{{player.gross_payoff|cu|to1}}-{{group.deal_price|cu|to1}}+{{endowment|cu|to1}} ={{player.net_payoff|cu|to1}}
{{ else }} So, after receiving your round endowment of {{seller_endowment|cu|to0}}:
Total Payoff for the round is:
-{{gross_payoff|cu|to1}}+{{group.deal_price|cu|to1}}+{{seller_endowment|cu|to0}} ={{player.net_payoff|cu|to1}}
{{ endif }}

Results including this round
{% for p in player_in_all_rounds %} {% endfor %}
Round Your Role Payment Agreed, P Quantity Agreed, q Accepted by Your Total Payoff
{{ p.round_number }} {% if p.id_in_group == 1 %} Seller {% else %} Buyer {% endif %} {{ p.group.deal_price|cu|to1 }} {{ p.group.deal_price_q|to1 }} units {{if p.group.no_agreement == 1}} No agreement {{else}} {{if p.field_maybe_none('amount_accepted') == p.group.deal_price }} You {{else}} Counterpart {{endif}} {{endif}} {{p.net_payoff|cu|to1}}


{{ endblock }}