How to calculate management fees in the portal