Examples of FixedAmountPR


Examples of org.fenixedu.academic.domain.accounting.postingRules.FixedAmountPR

    @Override
    public FixedAmountPR edit(final Money fixedAmount) {

        deactivate();
        return new FixedAmountPR(getEntryType(), getEventType(), new DateTime().minus(1000), null, getServiceAgreementTemplate(),
                fixedAmount);
    }
View Full Code Here

Examples of org.fenixedu.academic.domain.accounting.postingRules.FixedAmountPR

    @Override
    protected void createAcademicServiceRequestSituations(AcademicServiceRequestBean academicServiceRequestBean) {
        super.createAcademicServiceRequestSituations(academicServiceRequestBean);

        if (academicServiceRequestBean.isToProcess() && !isFree()) {
            FixedAmountPR partialRegistrationPostingRule =
                    (FixedAmountPR) getAdministrativeOffice().getServiceAgreementTemplate().findPostingRuleByEventTypeAndDate(
                            EventType.PARTIAL_REGISTRATION_REGIME_REQUEST,
                            getExecutionYear().getBeginDateYearMonthDay().toDateTimeAtMidnight());

            if (partialRegistrationPostingRule.getFixedAmount().greaterThan(Money.ZERO)) {
                new PartialRegistrationRegimeRequestEvent(getAdministrativeOffice(), getPerson(), this);
            }
        } else if (academicServiceRequestBean.isToConclude()) {
            AcademicServiceRequestSituation.create(this, new AcademicServiceRequestBean(
                    AcademicServiceRequestSituationType.DELIVERED, academicServiceRequestBean.getResponsible()));
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.