public static void addAllFinalPaymentsForMembertoOrganizationFeeAmount(OrganizationVo currentOrg, decimal?memberFeeAmount, decimal?oldFinalPayment) { if (currentOrg.modified.Year < DateTime.Now.Year) { OrganizationManager.resetOrganizationFeeAmountToZero(currentOrg); } OrganizationManager.updateOrganizationFeeAmountForReferralRecordController(currentOrg, memberFeeAmount, oldFinalPayment); }
public static void resetAllOrganizationsFeeAmountToZero() { List <OrganizationVo> orgs = OrganizationManager.getAllOrgsForResetFeeAmount(); foreach (OrganizationVo org in orgs) { OrganizationManager.resetOrganizationFeeAmountToZero(org); } }