{% load otree_tags staticfiles %}
REVENUES:
1. Case - agreement between {{ Constants.p1 }} and the {{ Constants.p2 }}:
{{ Constants.p1 }}: revenue = wholesale price × {{ Constants.units }} units - {{ Constants.production_cost }} × {{ Constants.units }} units
{{ Constants.p2 }}: revenue = {{ Constants.market_price }} × {{ Constants.units }} units - wholesale price × {{ Constants.units }} units
{{ Constants.p3 }}: revenue = {{ Constants.payoff_if_rejected }}
2. Case - agreement between the {{ Constants.p1 }} and the {{ Constants.p3 }}:
Constants.p1: revenue = wholesale price × {{ Constants.units }} units - {{ Constants.production_cost }} × {{ Constants.units }} units
{{ Constants.p2 }}: revenue = {{ Constants.payoff_if_rejected }}
{{ Constants.p3 }}: revenue = {{ Constants.market_price }} × {{ Constants.units }} units - wholesale price × {{ Constants.units }} units
3. Case - no agreement
If no agreement is reached, each participants revenue is equal to {{ Constants.payoff_if_rejected }}.
REAL PAYOFFS:
payoff = revenue × 0.02 + #bonus for participating in the experiment