This now displays only when the Limit Fiscal Year Close-Out to Encumbrances
library setting is active.
LH#20, LH#53
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
<eg-help-popover helpText="Perform Fiscal Year Close-Out moves encumbrances to the corresponding fund for the next fiscal year and deactivates funds for the selected fiscal year. If funds have the Rollover setting enabled, all unspect money will also be moved to the corresponding fund for the next fiscal year." i18n-helpText></eg-help-popover>
<span class="alert-warning" *ngIf="doCloseout && !dryRun">Will do a Close-Out for real. If you need to double-check first, check the "Dry Run" checkbox.</span>
</div>
- <div class="offset-sm-1 form-check">
+ <div class="offset-sm-1 form-check" *ngIf="showEncumbOnly">
<input type="checkbox" name="limitToEncumbrances" id="limitToEncumbrances"
class="form-check-input"
[(ngModel)]="limitToEncumbrances">
includeDescendants = false;
propagateFunds = false;
doCloseout = false;
+ showEncumbOnly = false;
limitToEncumbrances = false;
dryRun = true;
contextOrg: IdlObject;
this.year = maxYear;
}
);
+ this.showEncumbOnly = false;
+ this.org.settings('acq.fund.allow_rollover_without_money', this.contextOrgId).then((ous) => {
+ this.showEncumbOnly = ous['acq.fund.allow_rollover_without_money'];
+ });
}
rollover() {