from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class Final_Payoff(Page): form_model = 'player' form_fields = ['comment'] def vars_for_template(self): x = self.participant.payoff y = int(self.participant.payoff_plus_participation_fee() + 0.5) return dict( x=x, y=y,) page_sequence = [Final_Payoff]