Skip to content
This repository was archived by the owner on Apr 29, 2022. It is now read-only.
This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Add a relation between Coupon and OrderdItem to accurately track coupon usage count #1036

Open
@umgelurgel

Description

@umgelurgel

Right now an OrderItem is created with the coupon's code - which means that if the code is reused the following year (e.g. for returning volunteers), the usage count includes past years' use of the code.

Needs to be updated in Coupon.valid and CouponAdmin.usage_count

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions