Settings
Set Manager Approval PIN, RFID Card, Wage and Sales Targets
After a user exists, owners can set approval credentials and labour targets without changing the basic login form.
- Menu path
- Manage -> Employees -> select employee -> Edit
- Verified from
- Posnic demo and current POS source reviewed on 2026-09-08
Technical source evidence
Live local Posnic employee editor reviewed 2026-09-09, frontend/modals/user.html manager_pin_row, rfid_row, wage_row, targets_row and pos_actions_row, users.js setManagerPin, setRfid, clearRfid, setRate, setTargets and updatePinRowVisibility, authorizations.controller.js employee-write checks for PIN and RFID, authorization.service.js PIN hash, RFID hash, one-card-per-person rule and approval audit, shifts.controller.js and shift.service.js employee-write checks, wage and target validation
What Appears Only After Saving
Manager PIN, RFID card, hourly wage and sales targets attach to an existing user ID. Create and save the employee first, then return to Employees and open Edit.
- New user mode hides Manager Approval PIN, RFID, Hourly Wage and Sales Targets.
- Edit mode shows RFID, wage and targets.
- Manager Approval PIN appears only when the edited account is an admin or manager type, or currently has discount, refund or void authority in its POS action matrix.
- A named role applies its preset permissions. Custom means the action checkboxes and limits are maintained for this employee.
- Set PIN, Assign or Clear, Save Wage and Save Targets write immediately through separate buttons. Update saves the main employee, branch, status and access form.
Set a Manager Approval PIN
- Open Manage -> Employees.
- Open the user who should approve restricted actions.
- Click Edit.
- Assign a role or custom POS actions with the exact till authority this person needs. The current approval service recognises an admin or manager type, or a matching allowed POS action.
- In Manager Approval PIN, enter a 4 to 8 digit PIN.
- Click Set PIN.
- Wait for the Manager PIN set message. The field clears after a successful save because Posnic does not display the stored PIN.
- Do not write the PIN near the till or share one manager PIN between multiple people.
- Test the specific restricted action from a cashier account. A successful approval must identify an authorised user and write an approval audit event.
Assign or Clear RFID / Swipe Card
RFID and swipe-card readers usually type a card code into the focused field. Posnic normalizes the code and stores only a hash. One card can belong to only one user in the business account.
- Open the employee in Edit mode.
- Focus the RFID / Swipe Card field.
- Swipe the card on the USB reader or type the card code.
- Click Assign and wait for RFID card assigned.
- Use Clear when the card is lost, replaced or assigned by mistake.
- Test clock-in or manager approval on the exact workstation and reader that staff will use. The card holder still needs authority for the requested approval action.
Set Hourly Wage
Hourly Wage is used by labour and payout reporting. It does not pay staff by itself; it turns worked hours into a payout figure in reports.
- Open the employee in Edit mode.
- Enter a non-negative hourly wage.
- Click Save Wage.
- Wait for Hourly rate saved.
- Review the payout report after the next completed shift. Posnic calculates the report amount from worked hours multiplied by this rate.
- Use 0 when the employee should retain attendance records but produce a zero calculated payout.
Set Sales Targets
Sales Targets are optional daily, weekly and monthly non-negative values stored on the employee record. Empty values clear that period's target. The current editor stores these goals, but the present reporting UI does not yet display an actual-versus-target comparison.
- Open the employee in Edit mode.
- Enter Daily, Weekly and Monthly targets only where the business uses them.
- Click Save Targets and wait for Sales targets saved.
- Reopen the employee and confirm the saved values reload into the three fields.
- Treat the values as stored goals until a target-comparison report is available; do not promise staff that the current report calculates target attainment.
How Approval Works at the Till
Where a till workflow requests manager approval, Posnic can verify a PIN or card. The approval service checks that the credential belongs to a person allowed to perform the exact requested action, issues a short-lived approval token and records the approval in the audit trail.
| Control | Stored as | Operator caution |
|---|---|---|
| Manager PIN | Bcrypt hash of the PIN. | Use per manager, 4 to 8 digits, never shared. |
| RFID card | SHA-256 hash of the normalized card UID. | One card per person; clear it immediately if lost. |
| Approval | Approver, action and entity evidence. | Review approvals with refunds, voids and register exceptions. |
| Discount cap | Percent limit on role/user POS authority. | 0 is labelled as no limit, but the matching action must still be allowed. |
| Refund cap | Amount limit on role/user POS authority. | 0 is labelled as no limit; use a deliberate finite limit for cashier roles. |
Troubleshoot the Staff Controls
| Problem | Check | Resolution |
|---|---|---|
| Manager PIN row is missing | Account type, selected role and the discount, refund or void POS actions. | Choose the correct role or authority, save the employee access form, then reopen Edit. |
| PIN is rejected before saving | It must contain only 4 to 8 digits. | Enter a new numeric PIN; letters, spaces and shorter values are rejected. |
| Card says it is already assigned | The same normalized card code exists on another employee in this business. | Clear the card from the former employee before assigning it to the new holder. |
| Wage or target will not save | The value must be numeric and zero or greater; wage cannot be blank. | Correct the value. Leave a target blank only when clearing that period's goal. |
| A value looked saved but disappeared | Confirm which button was used and whether a success message appeared. | Use the button beside that control. Update does not replace Save Wage, Save Targets, Set PIN or Assign. |
| PIN or card does not approve an action | The credential may be valid while the holder lacks that exact POS action. | Review the employee or role POS matrix, then test the same action again. |
Manager Verification Checklist
- Employee opens in Edit mode and belongs to the intended branch.
- Role or Custom POS actions match the employee's real duties.
- Manager credential has been tested on each action it is expected to approve.
- Lost or replaced cards are cleared immediately and cannot be reused by two employees.
- Hourly wage reloads correctly and produces the expected payout after a completed shift.
- Daily, weekly and monthly targets reload correctly; reporting limitations are understood.
- The administrator saw a success response for each separate save and then used Update for employee access changes.