bcgov / ecc-ofm

Ministry of Education and Child Care - Operating Funding Model app
Apache License 2.0
0 stars 0 forks source link

update Funding Agreements to always return the newest FA or MOD #260

Closed jenbeckett closed 1 week ago

jenbeckett commented 1 week ago

-- removed function getActiveFundingAgreementByFacilityId(facilityId) as it does not appear to be used anywhere

always return the newest version (either the original Funding Agreement or MOD) that is active, unless being used for Supp Apps, in which case return the original FA. This is being updated here to support the backdate Transport App functionality (ofm 4772)