Skip to content

need to refactor child badge price calculation to be in exactly one place #141

@binary1230

Description

@binary1230

see discussion in #138

this is not a magprime reg launch blocker

we should try and compute the calculation of "child badge price" in only one location, and not two. that way if we ever decide to change the business logic (which is child price = 1/2 normal price), we don't need to remember to change it in two places.

I am intending to in a future refactor after Jinja2 goes in to rip out the business-logic stuff we're doing in javascript to work around template inheritance not working, so that should get caught there.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions