Frontend
Attendance
Manual Punch Attendence

Manual Punch Attendance Documentation

Create professional documentation using Nextra (.mdx) for the Manual Punch Attendance module in the Worksphere application.

Audience: Admin / Super Admin
Style: Atomic CRM–style documentation
Scope: Add, View, Edit, Delete
Exclude: Separate list page, implementation details, code logic, screenshots


MODULE: MANUAL PUNCH ATTENDANCE MANAGEMENT

Navigation Path

Company → Attendance → Manual Punch Attendance


Manual Punch Attendance Page

URL

/attendance/manual-punch-attendance


Page Description

  • Used to add manual attendance records for employees
  • Works as a single-page module
  • Attendance records are retrieved by searching Employee Code
  • Existing records are displayed in a table below the form
  • Records can be edited or deleted from the same page

1. Attendance Entry Form

Form Fields

Field NameTypeDescription
MonthDropdownSelect attendance month
YearDropdownSelect attendance year
UnitSelect / CreateSelect employee unit
Unit CodeTextDisplays unit code
Employee CodeText InputEnter employee code
Employee NameTextAuto-filled employee name
DesignationDropdownSelect designation
Duty TypeDropdownMain Duty / Other
Attendance DaysNumberEnter attendance days
Month DaysNumberTotal days in month
OT DaysNumberOvertime days
OT RateNumberOvertime rate
OT HoursNumberOvertime hours
NFH DaysNumberNational festival holiday days
Weekoff Duty DaysNumberWeekoff duty days
RemarksText InputEnter remarks

2. Search Employee Attendance

Search Flow

  1. Select Month, Year, and Unit
  2. Enter Employee Code
  3. Click Search

Search Result

  • If attendance exists:
    • Records are displayed in a table below
    • Form fields are populated for edit
  • If no record exists:
    • Form remains empty for new entry

3. Attendance Records Table

Table Description

  • Displays manual attendance records for the selected employee
  • Appears below the form after successful search

Table Columns

Column NameDescription
MonthAttendance month
YearAttendance year
Duty TypeDuty type
Attendance DaysTotal attendance
OT DaysOvertime days
OT HoursOvertime hours
NFH DaysNational holiday days
Weekoff Duty DaysWeekoff duty days
ActionsEdit / Delete

4. Row Actions

Edit Attendance

  • Triggered by clicking Edit button
  • Selected record details are populated into the form
  • Admin can modify values and click Update

Delete Attendance

  • Triggered by clicking Delete button
  • Opens a confirmation alert

5. Delete Confirmation Alert

Alert Content

  • Confirmation message before deletion

Actions:

  • Confirm / Yes → Deletes the attendance record
  • Cancel → Closes the alert without action

6. Actions

ActionBehavior
SaveSaves new attendance entry
UpdateUpdates existing attendance record
ResetClears form fields
CancelNavigates away from the page

Validation Rules

  • Month and Year must be selected
  • Employee Code is mandatory
  • Attendance Days cannot exceed Month Days
  • Numeric fields accept only valid numbers

End of Documentation