for (final DegreeCurricularPlan dcp : bean.getDegreeCurricularPlans()) {
if (dcp.isPast()) {
continue;
}
deactivateExistingPostingRule(EventType.GRATUITY, bean.getStartDate(), dcp.getServiceAgreementTemplate());
new GratuityWithPaymentPlanPR(bean.getStartDate(), null, dcp.getServiceAgreementTemplate());
}
} else if (bean.getRule() == PastDegreeGratuityPR.class) {
for (final DegreeCurricularPlan dcp : bean.getDegreeCurricularPlans()) {