1.[ADDON] HRM features – Essentials module
HRM Module in OnePOS:
The HR module in the OnePOS system is loaded with features to handle all aspects of personnel management, including recruitment payroll, attendance, leave management, setting sale targets along many other critical operations.
Note: This document explains the HRM (Human resource management) feature in Essentials module. For other feature in Essential module refer here.
After you have installed & configured Essentials module you will see the HRM menu along with Essentials menu in the left sidebar.
HRM modules consist of:
- Leave types & Leaves.
- Attendance
- Payroll
- Holiday
- & related settings
Leave Management:
- Add leave: Leave Type (dropdown list), Start Date, End Date, Leave type, Reason (text area)
- Default status of a leave added is pending
- Admin can change the status: status (pending, canceled, approved) by clicking on the leave status column button.
- Inbuilt app Notification will be sent to admin when a new leave is added.
- Inbuilt app Notification will be sent to the applied user when the status is changed by the admin.
- Only admin can delete a leave.
- Reference no. Will be generated automatically for every leave to uniquely identify them. You can change the reference no prefix from HRM -> Settings (Leave Reference No. prefix)
- Leave Instructions: You can enter special instructions for users before applying for leaves from the settings “Leave Instructions” field.
Leave types
- Only admin can manage leave type (add or edit)
- Fields:
- Leave Type: Enter the name of the type of leave.
- Max leave counts: Maximum number of leaves allowed for the leave type.
- Leave count interval: This can be “Current month” or “Current financial year” or “None”. It is the interval for the maximum leave counts.
For example: If employees can take 12 Sick Leave in 1 year then:
Leave Type = “Sick Leave”
Max leave counts = 12
Leave count interval = “Current financial year”
Leaves Summary for an user
- For admin: Admin can view leave summary of all other users. On the leaves page filter by an employee name and it will show the summary at the bottom of the page.
- For Users: Always visible to a user his/her summary.

Leaves Approval for an user:
When an user applies a leave, the admin can approve or cancel it.
To do this,
Step 1: Go to HRM Module > Leaves.
Step 2: Here you can edit the status of the leaves.
Approval of Additional leaves:
If users apply additional leaves than the limit permitted by leave type, these leaves can be approved by enabling the “Approve Additional Leaves” checkbox.

Video on leaves management
Attendance Management:
Attendance by admin & other users
- Users can add their own attendance, admin can add the attendance of every user.
- Attendance fields for admin: Employee, Date, Ip address(auto get the user’s IP address), note, clock_in_time, clock_out_time.
- Attendance by non-admin users: Users can add their own attendance by clicking on the “Clock In” button present in the top navigation bar and clock-in adding a note. And click on the “Clock Out” button before leaving the workplace for checkout and adding a clock-out note.
- Total work hours will be displayed when the admin selects a particular user and it is always visible to a non-admin user.
- If the admin wants to add attendance for users & don’t want the user to add their attendance then it can be disabled by unchecking “Allow users to enter their own attendance”
How can users add their own attendance:
Follow the steps below for users to add their own attendance
Step 1: Enable the “Allow users to enter their own attendance” in the User Management > Roles for that particular user.
Step 2: Log in with that particular user’s login details.
Step 3: In the attendance tab, the user can now clock-in and clock-out, thus marking their own attendance.
Grace Time:
- Grace time is useful for fixed shifts.
- Grace before check-in: Is additional time that is not counted as overtime. Meaning if Grace before check-in is defined as 30Min & a shift starts ar 11 AM, then even if someone check-in at 10.30 AM it’ll not be considered as early checkin
- Grace after check-in: Similar to before, this is time that is not considered as late even after checking at late. If Grace after check-in is 30 Min, then doing a check-in at 11:30 AM will allowed.
- Grace before checkout/Grace after checkout: Same as above 3 & 4, but this applies to check out timing.
Getting the user’s location in attendance:
When a user/employee clock’s-in the system can save the user’s location from which he/she has put attendance.
NOTE: For the location to work your website must be HTTPS
- Enabling Location:
- Go to HRM -> Settings -> Attendance Tab.
- Check the “Is Location Required?” checkbox & save it
- Check the below screenshot for locations when adding clock-in


How accurate is the location?
Accuracy of Location depends on the API & device(mobile or laptop) used and not on the application.
Mobile: mobile has GPS enabled so the coordinates sent by them is more accurate
Laptop: Most laptops don’t have GPS enabled so the location is based on the IP address, which is not much accurate
OnePOS comes with 2 map API integration
- Free Open street map: It’s completely free and not much accurate. It does not require any additional configuration since it is integrated by default.
- Google map: Paid API and is 100% accurate. This needs additional configuration steps for accessing the location.
To enable google map API to follow the below step.
Open the .env file and update the GOOGLE_MAP_API_KEY=””.
Note: The updated google map API key should have geocoding enabled.
Biometric Scanner Integration in Attendance:
If a biometric system is used for attendance, then the data from the excel file exported from the biometric system can be fed into the downloaded template file. The complete data can be then imported into the POS system.
Use the import attendance feature to achieve this.

Notes:
Sometimes, you may have an issue with import attendance due to an incorrect date format in the imported Excel sheet. Check the below conditions and ensure that the format is correct
- The clock-in & clock-out should be in the format “Y-m-d H:i:s” ex: (2023-06-04 21:13:55).
- The format type of clock-in & clock-out should be in text format in the Excel sheet.
Shift management:
There are two types of shifts that you can create for users.
Fixed shift:
- With the fixed shift, you can create shifts with a specific starting and ending time.
- Therefore users can clock in only at a specific time.
- If users try to clock in or clock out at a time later or earlier than the specified time it will show an error message.
Flexible Shift:
- With the flexible shift, you can create shifts without specific timing
- Therefore users can clock in and clock out at any time.
Assigning shifts to users:
The created shifts can be assigned to specific users, so when users log in they can clock in for the shifts assigned for them.
Click the assign users button for a particular shift and assign shifts for users at particular dates.

ERROR: No active shift at this time
Sometimes while users try to clock-in, it may show this error.
This is because there are no fixed shifts available for that time when they login.
In such conditions you can either manually add the attendance for such users in the attendance tab.
Refer to the video given for more information – Video Link
Auto clock out option:
By enabling this option, the system will automatically end the shift for users and they can automatically clock out.

Please watch the below view demonstration for details of attendance & shift management.
Video Demonstration
Payroll Management:
- Only admin can add payroll & other users can view only there own payroll.
- Reference no. will be generated for Payroll. You can change the Payroll Reference No. prefix from settings.
Adding Payroll
- For adding payroll click on Add button in payroll menu.
- Select Employee and the month/year of payroll.
- If any existing payroll for the period then it will be shown for editing or new payroll can be added.
- Fields:
- Total work duration: Duration of work will be auto-calculated based on attendance
- Duration Unit: Unit of work like month/hour/week or other.
- Amount per unit duration: Price per duration.
- Total: Total work duration x Amount per unit duration
- Allowances: add as many allowances you have for the employee. Allowances will be added in final payroll.
- Deductions: add deductions for the employee. Deductions will be subtracted in final payroll.
- Gross amount = Total + Sum of Allowances – Sum of Deductions
- Inbuilt app Notification will be sent to the user when payroll is added.
Editing Payroll
To edit a payroll, click on ‘All payroll groups’ tab -> Action -> Edit
Making Payment for Payroll:
To make payment for a particular payroll, Go to Payroll -> All payroll groups.
Click on the action button -> Payment.

Making Partial Payment for Payroll:
If you want to add a partial payment payroll for all employees or a group of employees follow the step below.
Step 1: Navigate to the Payroll section and select the “All Payroll Payment” tab.
Step 2: Click on “Actions” and choose “Add Payment” for the specific payroll you want to make payment for.
Step 3: You’ll be directed to the payment screen, where you can enter the required amount.
Step 4: Click “Save” to confirm the partial payment.
Step 5: If you wish to add the remaining amount later, repeat the same steps mentioned above.
NOTE: While adding payroll payments, you can include payment notes. For instance, if you’re making the first due payment, mention it in the payment notes.
Adding Bulk Payroll and Bulk Payment for Payroll:
If you want to add a bulk payroll for all employees or a group of employees follow the step below.
For example: If you have 100 employees then you need to enter 100. You should have a bulk pay option.
While adding payroll, select all the employee names for bulk payment.
After adding the payroll, go to the ‘All Payroll Groups‘ tab where you can find the payroll as a group to add the bulk payment.
Adding Bonus in Payroll:
While adding a payroll, add a description “bonus” and add the bonus amount.
This way you can add the bonus amount with the payroll.
Holidays Management:
- Only admin can add holiday.
- Other users can view holidays applicable for there location.
Adding Holidays
Fields: Name, Start Date, End Date, Business Location, Note
Permission & Settings for management for HRM
Approve Leave:
By default only admin can approve leave added by other users. But you can assign the Approve leave permission to any other role & assign it to a user. User having approve leave will be able to approve leaves added by other users.
Allow users to enter their own attendance:
You will find this option in HRM -> Settings -> HRM tab. If enabled other users will be able to enter their own attendance and vice-versa.
Version Log:
Version Log for Essentials & HRM module
2.[ADDON] Essentials module
Features in Essentials module:
- ToDo List:
- Add new to-do items
- Mark items as completed.
- Delete items
- Date-Wise to-do list.
- Document
- Easy document storage to the cloud in your server.
- Share documents with other users or other roles.
- Download document.
- Delete documents
- Memos
- Written message or short notes.
- Share with other users or roles.
- Delete
- Reminders
- Add reminder with event name, date, time.
- One time reminder or Repeated reminder – every day or every week or every month
- Nice calendar view.
- Messages
- Send messages to everyone within your business.
- Send to a particular location.
- Permission to allow sending or only view.
- Knowledge Base
- Add information about your business, product, and services.
- Share these details if needed.
- Settings
- Separate settings enabled for leave, payroll, attendance, sales target, and essentials.
Installing the Essentials Module
Installing the essentials module to OnePOS is easy as cake. Make sure you meet the below requirements:
- Since this is not a standalone application you will need OnePOS (Download from here)
- OnePOS – Advance the latest version installed. For OnePOS installation step refer to this documentation.
Installing:
For Essentials module 2.0 or higher follow the instruction given in this link.
For older version follow the steps given below:
- Unzip the file downloaded from codecanyon.net. Inside that, you will find the “Essentials” directory.
- Go to OnePOS installed directory. There you will find a folder named “Modules” (in the same level as app or bootstrap directory).
If this folder is not present, then create the “Modules” folder (Make sure the folder name is exactly “Modules” with “M” in capital case). It should be inside the POS codebase, in the same level as the “public” folder. (NOT inside the public folder) - Upload or Cut-Paste the “Essentials” directory inside this “Modules” directory.
- Open .env file present inside pos folder. Inside that, you will find “ADMINISTRATOR_USERNAMES” configuration. Add the superadmin username in this option.
Example if “user1” is superadmin then:
ADMINISTRATOR_USERNAMES=user1
NOTE: user1 mentioned here is for example only. You have to add an already existing/signed up username here.
NOTE: If you have already installed SaaS-Superadmin or OnePOS-to-WooCommerce module then no need to do step 4. - Login with superadmin (username which is added in step 4). After log in, you will able to see the essentials menu present at the bottom of the sidebar. If not present them make sure the above steps are followed properly.
- After login, install superadmin by going to the below URL:
If you pos is installed in www.example.com then go to www.example.com/essentials/install - It will process for a few minutes and the installation success message will be displayed.
Great, installation is done now.
We also provide paid installation service, contact support for details about it.
Updating the Essentials Module:
For Essentials module 2.0 or higher follow the instruction given in this link.
For older version follow the steps give below:
- Download the new version available from codecanyon.
- Extract/Unzip the Zip file.
- Inside the “Essentials-(SaaS-compatible)-V” folder you will find a “Essentials” folder.
- Open your cPanel or DirectAdmin or FTP (Filezilla) or localhost and go to the Modules folder.
- Delete the existing “Essentials” module from folder your server.
- Upload the new downloaded “Woocommerce” module.
- Log in with your superadmin or Administrator account in POS.
- Run this URL in your browser:
http://yourwebsite.com/essentials/install/update or if you’re using a sub-domain:
http://subdomain.yourwebsite.com/essentials/install/update
It will run for a few minutes and show a success message. - You can view the version number of essentials module on the messages screen.
Version Log:
Version Log for Essentials & HRM module
3.Sales Target for employees
Sales Target
Sales target is a feature is available in the Essential & HRM module
What is a Sales target?
Sales target helps businesses to give target-based incentives/commissions to their employees or staff.
Using this business can define a different range or slab-based incentives.
For example:
- For sales from $0 to $1000, the commission percentage is 5%
- from $1001 to $5000, commission percentage is 7%
- from $5001 to $10,000, commission percentage is 9%
- from $10,000 to $10000000, commission percentage is 12%
This helps businesses to boost sales because employees or salespeople work hard to achieve a much higher percentage of commission.
Adding sales target
- Go to HRM -> Sales Target, click on ‘set sales target’
- In the popup, define the commission slab or target
- Here is a screenshot of the above example:

Calculating & Paying commission to employees
To pay commission to employees for sales targets, you need to process the payroll.
In payroll processing, it will have a separate column for sales target commission. Check the screenshot below:

Calculates sales target on sales amount excluding taxes:
By default sales target will get calculated on amount including tax. To calculate it without tax go to HRM -> Settings -> Sales Target.
4.Version Log for Essentials & HRM module
Version Log:
Released – V 5.1, Feb 6, 2025
- Improved: Leave approval process improved. (Document Link)
Released – V 5.0, June 7, 2024
- NEW: Updated as per new design.
NOTE: You must update OnePOS to V6.x before updating the module to this version.
Released – V4.2, January 29, 2024
- NEW: Allowing partial payment in payroll.
- NEW: Payment note option in payroll payment – Document Link
- FIX: Sell target editable for all user issues.
Released – V4.1, June 06, 2023
- NEW: Added user’s (or employees’) birthday block in HRM dashboard.
Released – V4, March 02, 2023
- NEW: Compatible with V5.0
- FIX: The ‘total days present’ showing a wrong value in the payroll issue fixed.
- FIX: Total absent showing a negative value in attendance by day issue fixed.
Released – V3.4, Nov 18, 2022
-
NEW: permissions added for To-Do
- NEW: Delete payroll group implemented
- IMPROVEMENT: Location filter added to list payroll
-
FIX: Payroll already exists message issue fixed
- FIX: Payroll issue on profit loss report
Released – V3.2, Feb 2, 2022
- Added OpenStreetMap API for attendance location.
Released – V3.1 Nov 26, 2021
- NEW: Add sales targets of logged in user-added to hrm dashboard
- NEW: Sales target commission on payroll implemented
- NEW: Settings to target calculation.
- NEW: Note field added for each user in payroll
- FIX – Illegal operator and value combination issue on creating payroll issue fixed
Released – V3.0 May 02, 2021
- Bulk processing of payroll
Released – V2.3 Dec 31, 2020
- Code improvement & fixes
Released – V2.2 Aug 25, 2020
- NEW:New Dashboard
- NEW: Add leave for multiple employees at once implemented
- FIX: Clock out note issue fixed
- Improvement: Department and designation added to payroll list
Released – V2.1 May 20, 2020
- Users shift management: Create different shifts with start time, end time & holidays. Assign the shift to users based on their shift. The user will have to check-in in the assigned shift only.
- Grace time before check-in, after check-in, before checkout, after check-out in shifts.
- Improvements in admin adding of attendance of other users to allow adding different check-in & checkout time for each users
- Import attendance from Xls file.
- Adding shift type: Fixed shift(fixed checkin-checkout time) & Flexible shift (fixed working hours)
- Update designation error
Released – V2.0 February 27, 2020
- Compatible with OnePOS 3.0
- Many fixes & improvements
Released – V1.1 October 10, 2019
- Permission for other users to approve leave.
- Delete Payroll
- Add pre-defined Allowances & Deductions for employees
- Major improvements in To-Do: Assign a to-do to other employees, Add Priority(Low, Medium, High, Urgent), Status (New, In-Progress, Hold, Completed), Start & End date, Estimated hours
- Adding comments in To-Do
- Document attachment to To-Do
Released – V1.0 August 7, 2019
- Payment for Payroll
- Deducting payroll payment in profit & loss report
- IMPORTANT NOTE: Before updating make sure you have version 2.15 of OnePOS released on august 7, 2019
Released – V0.6, May 8, 2019
- File size display in documents
- Document viewer
- Send notification to all users when a message is sent.
V0.5
- Initial Release