jurteam / platform

Jur Beta Platform
https://beta.jur.io
0 stars 0 forks source link

FIX 'Activities Balance' is shown as negative on advocate page #321

Closed tyagishuchi1 closed 4 years ago

tyagishuchi1 commented 4 years ago

The activities available balance is not calculated properly and is shown as a negative value.

Expected Behavior

Activities Available => It should be calculated for the logged in user. It is the sum of all the unassigned slots in the ‘Available activities’. For example, for the set of activities given below it should be 275 image

Current Behavior

image

Steps to Reproduce

Environment: Temp

  1. Assign a slot
  2. Mark it complete to initiate a reward transfer