Hello Community,
I wish to add a customization to Frappe HR PWA App. I want to implement geolocation-based attendance with geofencing and display error to user if tries to check-in from non-geofenced location. Is there any method to implement this without altering core filed.
Geolocation tracking is available:
frappe:develop
← ruchamahabal:geolocation
opened 05:53PM - 07 Apr 24 UTC
### HR Settings
![image](https://github.com/frappe/hrms/assets/24353136/13fe9… 48f-a4c3-4d98-b21b-0976395af901)
### Employee Checkin (Desk)
https://github.com/frappe/hrms/assets/24353136/431ff834-8ba4-438d-8b51-d8a8217fdda0
### Employee Checkin (Mobile App)
https://github.com/frappe/hrms/assets/24353136/27723a0d-1b10-438e-a362-fac5518a2f41
### Errors handled
<img width="1311" alt="image" src="https://github.com/frappe/hrms/assets/24353136/a4a0c1c3-1918-4e7c-a69b-29fcb030d75f">
<img width="246" alt="image" src="https://github.com/frappe/hrms/assets/24353136/5088a1d1-a8db-49fc-a738-9cdeece7edda">
Also if the setting is disabled, geolocation fields are hidden
<img width="1325" alt="image" src="https://github.com/frappe/hrms/assets/24353136/0686184e-9436-48b8-8238-394fdc32ded4">
<img width="246" alt="image" src="https://github.com/frappe/hrms/assets/24353136/7cb8d1cd-cbf7-4553-9b95-ea7d9fa9917c">
- [x] Better UX in desk - for setting location
- [x] HR Setting for allow GPS tracking
- [x] Tests
- [x] Docs: https://frappehr.com/docs/v14/en/employee_checkin#3-features
Geofencing will be available in the standard app by the end of this month:
frappe:develop
← krantheman:feat-geofencing
opened 12:22PM - 04 Jul 24 UTC
### Geofencing for Employee Checkin based on Shift Location
#### Shift Locati… on
![image](https://github.com/user-attachments/assets/f1ca828c-0007-400a-9ad9-58234ffddbad)
#### Employee Checkin - within Checkin Radius
![image](https://github.com/user-attachments/assets/c68110d8-a98b-49ad-af8b-713f614a9eef)
#### Employee Checkin - outside Checkin Radius
![image](https://github.com/user-attachments/assets/226408a2-7a21-45ae-a168-4337d20c59cc)
3 Likes
avc
September 15, 2024, 12:48pm
3
Hi @SDheeraz :
Seems that your requeriments are already implemented (@rucha_mahabal and her team are doing an absolutely impressive work) … but, anyway, check this great resource provided by @esafwan . Pay attention to the amazing soundtrack
Like many in community, we too faced challenges while trying to customize Frappe UI-based applications. Sometimes, client needs some customisations that are critical. Am sharing the workflow we are following for the same, for feedback and for others benefit.
The Challenge
While Frappe’s Desk based application and modules are highly customizable using client scripts, server scripts etc… Frappe UI based apps built using Vue.js (e.g., CRM, Gameplan), etc are almost impossible to customise out of…
Hope this helps.
3 Likes
Great! I hope the feature of geofencing is scheduled to be launch very soon.
I would rather wait for the feature release for geofencing than doing any customization. Thank you @rucha_mahabal and Team.
1 Like