ibi-group / trimet-mod-otp

5 stars 5 forks source link

FieldTrip: Inaccurate participants calculation #308

Closed msrichardson closed 2 years ago

msrichardson commented 3 years ago

This has been tested in both TriMet's and IBI's test instances with same results.

The number of participants (both students 7 and older and total) are not being calculated correctly in the Field Request Details view, and this then carries over when one goes to plan a trip. It appears that the students 7 and older field is a combination of both the over and under 7 fields (which is how it worked when the app was first developed, but changed along the way).

Here's an example:

Trip Planned for 8/27/21

Entry Form EntryForm

Invoice (correct) Invoice

Receipt (correct) Receipt

Details view (incorrect) Field Trip Details

Trip Plan (incorrect) TripPlan