Security Attendance Report
Introduction
The Security Attendance Report is a query report that tracks and displays the security guard attendance for a specific shift and date. It is designed for maintenance job in-charges and system managers to ensure they can monitor and evaluate the attendance of security personnel on any given day.
1. Purpose of the Security Attendance Report
This report provides:
A detailed breakdown of security guard attendance.
Information on whether the guard was present, absent, or had a day off during a specific shift.
An option to add remarks about individual guards, if necessary.
2. Key Fields in the Report
The report includes the following key columns:
Guard Name:
- Description: Displays the full name of the security guard.
Position:
- Description: Indicates the guard’s position in the shift (e.g., Senior Guard, Supervisor).
Present:
- Description: A binary flag (1 or 0) to indicate whether the guard was present during the shift.
Absent:
- Description: A binary flag (1 or 0) to indicate whether the guard was absent during the shift.
Day Off:
- Description: A binary flag (1 or 0) to indicate if the guard had a day off on the shift date.
Remarks:
- Description: Any special notes or remarks regarding the guard's attendance, such as reasons for absence or special duties.
3. Report Design
HTML and CSS Structure:
This report uses HTML and CSS to generate a print-friendly format. Below is a summary of the structure:
- Header Section:
Displays the shift name and the date of the attendance report.
- Table Layout:
Table Header: Lists the columns: Guard Name, Position, Present, Absent, Day Off, and Remarks.
Table Body: Loops through the data array to dynamically populate rows with information on each guard’s attendance.
Table Footer: Displays a summary row with totals for guards present, absent, and on day off.