Attendance Geofences
The Attendance Geofences section controls where attendance can be captured for employees.
Geofences are applied by branch and scope, and are resolved by priority when multiple rules could match.
Geofences Index Page
The index page lists all attendance geofence rules.

Available Filters
| Filter | Description |
|---|---|
| Branch | Limits rules to a specific branch (hidden for users assigned to one branch). |
| Active | Shows only active/inactive geofences. |
| From | Start date of created-at range. |
| To | End date of created-at range. |
Table Columns
- Name
- Branch
- Radius (Meters)
- Active
- Created At
- Updated At
Header Actions
- Create Attendance Geofence
Row Actions
- Show
- Edit
- Delete
Bulk Actions
- Delete
Create/Edit Geofence Page
Use this page to create or update a geofence rule.

Basic Settings
| Option | Purpose |
|---|---|
| Branch | Branch that owns this geofence rule. |
| Name | Multi-language geofence name. |
| Active | Enables or disables the rule without deleting it. |
Scope Settings
| Option | Purpose |
|---|---|
| Scope Type | Rule targeting mode: Global, Employment Type, Employee, Employee Department. |
| Scope Value | Selected value for the chosen scope type. |
| Designations | Optional designation filter (used with Employee Department scope). |
| Priority | Lower priority value wins when multiple geofences match. |
Geofence Rules
| Option | Purpose |
|---|---|
| Active Days | Weekdays where this geofence is enforced. |
| On Violation | What happens if user is outside radius: Reject or Allow. |
| Grace Distance (Meters) | Extra allowed distance buffer beyond radius. |
| Min GPS Accuracy (Meters) | Required location accuracy threshold. |
| Block Mock Location | Blocks attendance if mocked location is detected. |
Location Settings
| Option | Purpose |
|---|---|
| Latitude | Center point latitude. |
| Longitude | Center point longitude. |
| Radius (Meters) | Allowed attendance radius around center point. |
| Map Picker | Visual map selection for center/radius. |
Show Geofence Page
The Show page displays full geofence details:
- Basic information (name, branch, active)
- Scope summary (type, selected scope value, designations)
- Rule summary (days, violation action, GPS and mock-location options)
- Location and radius map preview
- Created/updated timestamps

Notes
- Scope and designation options are loaded dynamically based on selected branch and scope type.
- Department-based scope allows narrowing to specific designations.
- Name is multi-language and follows required locale validation.
