Examples of PaymentPlanBean


Examples of org.fenixedu.academic.dto.accounting.paymentPlan.PaymentPlanBean

    }

    public ActionForward prepareCreatePaymentPlan(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {

        final PaymentPlanBean paymentPlanBean = new PaymentPlanBean(ExecutionYear.readCurrentExecutionYear());
        request.setAttribute("paymentPlanEditor", paymentPlanBean);
        request.setAttribute("installmentEditor", new InstallmentBean(paymentPlanBean));

        return mapping.findForward("createPaymentPlan");
    }
View Full Code Here

Examples of org.fenixedu.academic.dto.accounting.paymentPlan.PaymentPlanBean

    /* Gratuities for DEAs */
    public ActionForward prepareCreateDEAGratuityPR(ActionMapping mapping, ActionForm form, HttpServletRequest request,
            HttpServletResponse response) {
        final DegreeCurricularPlan degreeCurricularPlan = getDegreeCurricularPlan(request);
        final PaymentPlanBean paymentPlanBean = new PaymentPlanBean(ExecutionYear.readCurrentExecutionYear());

        paymentPlanBean.setMain(true);
        paymentPlanBean.setForAlien(false);
        paymentPlanBean.setForFirstTimeInstitutionStudents(false);
        paymentPlanBean.setForPartialRegime(false);
        paymentPlanBean.setForStudentEnroledOnSecondSemesterOnly(false);
        paymentPlanBean.setDegreeCurricularPlans(Collections.singletonList(degreeCurricularPlan));

        request.setAttribute("paymentPlanEditor", paymentPlanBean);
        InstallmentBean installmentBean = new InstallmentBean(paymentPlanBean);

        installmentBean.setPenaltyAppliable(false);
View Full Code Here

Examples of org.fenixedu.academic.dto.accounting.paymentPlan.PaymentPlanBean

    /* Gratuities for DEAs */
    public ActionForward prepareCreateDEAStandaloneEnrolmentGratuityPR(ActionMapping mapping, ActionForm form,
            HttpServletRequest request, HttpServletResponse response) {
        final DegreeCurricularPlan degreeCurricularPlan = getDegreeCurricularPlan(request);
        final PaymentPlanBean paymentPlanBean = new PaymentPlanBean(ExecutionYear.readCurrentExecutionYear());

        paymentPlanBean.setMain(true);
        paymentPlanBean.setForAlien(false);
        paymentPlanBean.setForFirstTimeInstitutionStudents(false);
        paymentPlanBean.setForPartialRegime(false);
        paymentPlanBean.setForStudentEnroledOnSecondSemesterOnly(false);
        paymentPlanBean.setDegreeCurricularPlans(Collections.singletonList(degreeCurricularPlan));

        request.setAttribute("paymentPlanEditor", paymentPlanBean);
        StandaloneInstallmentBean installmentBean = new StandaloneInstallmentBean(paymentPlanBean);

        installmentBean.setPenaltyAppliable(false);
View Full Code Here

Examples of org.fenixedu.academic.dto.accounting.paymentPlan.PaymentPlanBean

                    "label.payments.postingRules.paymentPlan.information.to.create.installment.is.all.required");

            return createDEAGratuityPRInvalid(mapping, form, request, response);
        }

        PaymentPlanBean paymentPlanBean = getPaymentPlanBean();
        paymentPlanBean.addInstallment(installment);

        try {
            PostingRulesManager.createDEAGratuityPostingRule(getPaymentPlanBean());
        } catch (DomainException e) {
            addActionMessage(request, e.getKey(), e.getArgs());
View Full Code Here

Examples of org.fenixedu.academic.dto.accounting.paymentPlan.PaymentPlanBean

        }

        try {
            PostingRulesManager.createDEAStandaloneGratuityPostingRule(standaloneInstallment, degreeCurricularPlan);
        } catch (DomainException e) {
            PaymentPlanBean paymentPlanEditor = new PaymentPlanBean(ExecutionYear.readCurrentExecutionYear());
            request.setAttribute("degreeCurricularPlan", degreeCurricularPlan);
            request.setAttribute("paymentPlanEditor", paymentPlanEditor);
            request.setAttribute("installmentEditor", installment);

            addActionMessage(request, e.getKey(), e.getArgs());
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.