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 Status Filter to Coverage and Absence Summary Forms #1782

Closed felixOlesen closed 7 months ago

felixOlesen commented 7 months ago

Description Added status filter to Staff Absence and Coverage Summaries to display only 'Full' status staff by default. This was done by implementing a $status variable that get's changed by a checkbox form input. The filter then gets applied by the value the checkbox sets the $status variable to.

Motivation and Context This fix was required to de-clutter the default viewing experience for the tables in each summary page.

How Has This Been Tested? Tested Locally

Screenshots

Screenshot 2024-01-24 at 10 48 12 Screenshot 2024-01-24 at 10 48 22 Screenshot 2024-01-24 at 12 57 15 Screenshot 2024-01-24 at 12 57 27
felixOlesen commented 7 months ago

Ah I see, they aren't highlighted in red for the absence summary so I'll add that change in.

felixOlesen commented 7 months ago
Screenshot 2024-01-24 at 15 55 57

All sorted 👍

SKuipers commented 7 months ago

Tested out perfectly in production.