{% load otree_tags staticfiles %}
REVENUES:
If an agreement is reached:
Vintner: revenue = wholesale price × {{ Constants.units }} units - {{ Constants.production_cost }} × {{ Constants.units }} units
Supermarket: revenue = {{ Constants.market_price }} × {{ Constants.units }} units - wholesale price × {{ Constants.units }} units
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
o The vintner will produce {{ Constants.units }} {{ Constants.good }} at cost of {{ Constants.production_cost }} per unit and sell all of them to the {{ Constants.p2 }} at the wholesale price:
Revenue of the {{ Constants.p1 }} = {{ Constants.units }} × wholesale price - {{ Constants.units }} × {{ Constants.production_cost }}
o The {{ Constants.p2 }} will buy {{ Constants.units }} {{ Constants.good }}, each at cost of the wholesale price, and sell all of them to his customers at the market price of {{ Constants.market_price }}:
Revenue of the {{ Constants.p2 }} = {{ Constants.units }} × {{ Constants.market_price}} - {{ Constants.units }} × wholesale price