Branches and departments
MekongHRM organises a company two ways at once, and they do not nest inside each other.
- A branch is a place where people work. It carries the time zone, the check-in radius, the holidays and the devices.
- A department or team is a line of reporting. It carries the manager, and it is one of the things that decides who approves a request.
A department spans places of work, and a branch holds people from several departments. That is why they are two lists rather than one tree.
A small company runs perfectly well on one branch and no departments at all.
Before you start
- The
org.viewpermission to look,org.manageto change. The Owner and HR roles hold both. attendance.configureto edit a branch — its name, its time zone and how people clock in there — because the time zone decides which day every punch is counted on.
Steps
All four screens are in the Company group of the attendance app's menu: Branches, Departments, Job positions and Position groups, beside Company details. An old link to the org structure page opens Departments.
Add a branch
- Open Company → Branches. The list shows each branch with its time zone, how many people work there and how they clock in.
- Fill in Add a branch and pick its Time zone from the list. The zones of the region are at the top, Phnom Penh first.
- Press Save.
Give a branch its own time zone only if it really is in another one. The time zone decides which calendar day a punch falls on, so a wrong one moves attendance between days.
How people clock in at a branch, and its check-in radius, are changed on the branch's own page (below) or on Attendance; both show the same settings. How many branches you can add depends on your plan.
Edit a branch
Press the pencil icon (Edit) at the end of the branch's row. The branch opens on a page of its own, in three parts.
- Branch details: the name and the Time zone. Change them and press Save at the bottom of the card.
- How people clock in: how people clock in at this branch, what a phone check-in must carry, the face check, the branch's position and radius, and the kiosk link. These are the same settings as the branch's card on Attendance. Change them and press Save at the bottom of that card; until you do, nothing has changed, and Cancel puts back what is saved.
- Weekly schedule: the branch's week, Monday to Sunday, each day one of the company's shifts or Rest. New branches start with Sunday off. It is the same week as on Shifts; see Deciding who works which shift. Press Save at the bottom of the card; the open attendance period is recalculated.
The list marks the company's first branch Default.
Change a branch's time zone
- Open the branch with the pencil icon and pick the new zone under Time zone.
- Press Save, read the confirmation and press Change time zone.
The day records of everybody at the branch are recalculated for every attendance period that is not locked, so a punch that now falls on another day moves there straight away. Locked periods stay exactly as they were: what payroll has already read does not change. The change, with the old and the new zone, goes to the activity log.
Delete a branch
Deleting is for a branch created by mistake or never used. Press the bin icon at the end of its row, then Delete branch. Its holidays go with it, and it stops counting towards your plan at once.
A branch that has history is kept. Deleting is refused while it still has any of these, and the screen says which and how many:
- an employee record, including somebody who has left;
- an attendance device;
- a punch recorded at it;
- a role assignment limited to that branch;
- a notice sent to that branch only.
The company's only branch can never be deleted.
Add a department or team
- Open Company → Departments.
- Fill in Add a department or team.
- Choose Department or Team.
- Under Inside, pick what it sits inside, or leave it at Top level.
- Press Save.
To move a unit, with its teams, drag it onto another one, or choose where it goes under Move into. To rename it, click its name. Delete asks you to confirm first, and only an empty unit can be deleted.
Job positions
Positions are your company's list of job titles: "Accountant", "Line supervisor", "Driver". Open Company → Job positions. Each position shows how many people hold it.
- Press Add a job position, type the name and add it.
- To rename one, press the pencil icon (Edit) on its row. Everybody who holds it carries the new name at once.
- To delete one, press the bin icon on its row. Delete asks you to confirm first. The bin is greyed out while anybody holds the position, and says how many do.
With dozens of positions, type part of a name in Search positions above the list to find one.
A position has no group. The position group is the person's, kept in its own list below: two people with the same job position can be in different groups.
Each employee holds at most one position, chosen on their record. A position is a list rather than a box to type in, so that "Accountant", "accountant" and "Acountant" do not become three positions the day you filter the staff list by one. It has nothing to do with departments or with who approves a request: it says what somebody does, not who decides for them.
Position groups
Position groups are a second list of your company's own, beside the job positions: "Manager/Director", "Team Leader/Supervisor", "Staff". Open Company → Position groups. Each group shows how many people are in it.
- Press Add a position group, type the name and add it.
- To rename one, press the pencil icon (Edit) on its row. Everybody in it is in the renamed group at once.
- To delete one, press the bin icon on its row. Delete asks you to confirm first. The bin is greyed out while anybody is in the group, and says how many are.
The group a new record starts in is marked Default.
A new company starts with three groups: Manager/Director, Team Leader/Supervisor and Staff. Their names are your company's own words, shown as written, and you can rename or delete them like any other. Each employee is in one group, chosen on their record under Position group, independent of their position. A new record starts in Staff; if you renamed or deleted Staff, it starts in the group most of your people are in.
What you should see
The tree is shown indented by depth. Each employee can then be given a branch, a department and, if you want one, a direct manager.
If something goes wrong
A department tree goes three levels deep at most. — three levels is the limit. A company that wants a fourth usually wants a team under a department under a division, and the division is better modelled as the department.
A branch cannot be deleted. Something still hangs on it, and the message says what: move its people to another branch, move or remove its devices, change the roles limited to it, delete the notices sent to it. A branch with punches keeps its history and is not deleted. A department that has people in it cannot be deleted either; move the people first.
Somebody still holds this position. Give them another one first. — a position somebody holds cannot be deleted. Filter the staff list by it, give those people another position, then delete it.
There is already a position with that name. — two positions cannot share a name, even with different capitals.
Last checked 02/10/2026