learning-unlimited / ESP-Website

A website to help manage the logistics of large, short-term educational programs
82 stars 57 forks source link

Change extracost selections after paying #3592

Closed willgearty closed 1 year ago

willgearty commented 1 year ago

This adds the ability (enabled by default) for students to return to the extracosts page after they have paid via credit card and choose different extracost options. This could be a 1 for 1 change (where there is no balance change), a positive change in balance (where the student would then need to pay via credit card again), or a negative change in balance (which we treat as a temporary/permanent donation).

The students can return to this page as many times as they would like between and after paying (provided the tag is enabled, which is the default). As changes are made, the (new!) subtotal (and balance if the student has paid already) at the bottom of the form updates automatically.

image

Fixes #3570.

willgearty commented 1 year ago

I've made the following changes: