GibbonEdu / core

Gibbon is a flexible, open source school management platform designed to make life better for teachers, students, parents and leaders.
https://gibbonedu.org
GNU General Public License v3.0
460 stars 299 forks source link

Added 'active' column to gibbonSpace table and changed pages to only show active facilities. #1777

Closed felixOlesen closed 7 months ago

felixOlesen commented 7 months ago

Description Added 'active' column to gibbonSpace table and changed pages to only show active facilities. This involved changing the FacilityGateway, FastFinder, Manage Facilities (including add and edit pages), Manage Space Booking, and Facilities TimeTable pages.

Important to note the the CHANGEDB file has been updated too to add the 'active' field to the gibbonSpace table.

Motivation and Context As new classes get developed and exist in the school, or as old ones close down, it's important to be able to declare them as active or inactive such that no one mistakenly uses the inactive rooms before they are ready.

How Has This Been Tested? Tested locally.

Screenshots In all of these cases, the room: "B001" has had its 'active' field set to 'N' (inactive). Leaving "B001A" as the next in the list.

Screenshot 2024-01-15 at 10 43 11 Screenshot 2024-01-15 at 10 43 36 Screenshot 2024-01-15 at 10 43 53 Screenshot 2024-01-15 at 10 44 04 Screenshot 2024-01-15 at 10 44 26