1
0
mirror of https://github.com/fspc/Yellow-Bike-Database.git synced 2025-04-04 09:33:24 -04:00

If volunteer has no hours for new year and is a member, this assings 0 to remaining.

* otherwise spinner spins infinitely, and membership discount is not applied.
This commit is contained in:
Jonathan Rosenbaum 2018-04-27 05:42:18 +00:00
parent 3e76e145c6
commit df31281ef8

View File

@ -1098,6 +1098,10 @@ $(function() {
vhr = 0; vhr = 0;
} }
if (obj.current_year_volunteer_hours === null) {
remaining = 0;
}
var title = obj.normal_full_name + "\r\n" + var title = obj.normal_full_name + "\r\n" +
obj.email + "\r\n" + obj.email + "\r\n" +
obj.phone + "\r\n" + obj.phone + "\r\n" +