from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants class PaymentInfo(Page): form_model = "player" def vars_for_template(self): participant = self.participant return dict( redemption_code=participant.label or participant.code, FinalPayoff=participant.payoff, ) page_sequence = [PaymentInfo]