{{ block content }} {% if player.subsession.bnum <= player.subsession.numbuyers %} {% if player.role == 'Buyer' %} Buyer #{{player.subsession.bnum}} is taking their turn. You are Buyer #{{player.BuyerNumber}}.



Products offered For Sale: {% if player.BuyerNumber == player.subsession.bnum%} {{else}} {{endif}} {{ for p in player.subsession.get_players() }} {{if p.role == "Seller"}} {{if p.offer > 0}} {% if player.BuyerNumber == player.subsession.bnum%} {{if p.isoffertaken == 1}} {{else}} {{endif}} {% else %} {{if p.isoffertaken == 1}} {{else}} {{endif}} {% endif %} {{endif}} {{endif}} {{endfor}}
Product Price AvailableBuy Product
{{forloop.counter}} {{p.offerPrice}} No Yes {{forloop.counter}} {{p.offerPrice}} No Yes


{% if player.BuyerNumber == player.subsession.bnum%}

If there are no products available, please press the "Do not buy a product" button to continue. {{if player.BuyerNumber < player.subsession.bnum}} You have made your selection. You may press Next now or wait for the other buyers to make their selection.

{{ next_button }} {{endif}} {% else %} {% endif %} {% else %} {% if player.role == 'Seller' %} The table below lists all the products offered for sale during this round. If you offered a product for sale, your product appears in blue. Buyers are currently evaluating these offers. Please wait until all Buyers have made their choices.

Products Offered For Sale: {{ for p in player.subsession.get_players() }} {{ if p.role == "Seller" }} {{ if p.offer > 0 }} {{if p == player }} {{if p.isoffertaken == 1}} {{else}} {{endif}} {{else}} {{if p.isoffertaken == 1}} {{else}} {{endif}} {{endif}} {{endif}} {{endif}} {{endfor}}
Product Price Available
{{forloop.counter}} {{p.offerPrice}} No Yes
{{forloop.counter}} {{p.offerPrice}} No Yes
{% else %}

{{ next_button }} {% endif %} {% endif %} {%else%} Buyers have finished. Press Next to continue now.

{{next_button}} {% endif %}
{{ endblock}}