SDS:Rollover admin.php

From SMUSwiki
Jump to navigation Jump to search

This page allows the administrator to rollover certain portions of the SDS database to the next school year for ease of data setup.

Presently, this page allows for the rollover of mark collection periods (MCPs) and subjects.

The page first tests to see what month it is, so that it can decide which school year it should work with. If the month is between August and December, the page operates on the current school year. If the month is between January and July, the page operates on the following school year.

Next, the page checks to see if any mark collection periods or subjects already exist for the relevant year. If there are any, then the rollover is assumed to have taken place already and is not allowed to repeat. If there are no values for the relevant year, then a link shows which may be clicked, performing the relevant rollover update.

This page should roll over pretty much all data that needs to be recreated yearly. If you find something it doesn't do, please notify IT and we'll add it here.