Files
accounted/lib
Mattsson 8f15f98687 Bug/employees creation (#440)
* Fix/employees page salary display logic and labels

* feat: add salary_worked_days table and related functionality

- Implemented the salary_worked_days table to track per-day worked hours for hourly employees.
- Established row-level security (RLS) policies to ensure tenant isolation for salary_worked_days.
- Created unique index on (employee_id, work_date) to enforce uniqueness.
- Added trigger to enforce a 24-hour cap across worked and absence days for the same employee and date.
- Developed tests to validate RLS, uniqueness, and 24-hour cap logic.

* Fix: update hourly_salary calculation and refresh logic in salary run processing
2026-05-12 01:10:01 +02:00
..
2026-05-06 11:12:02 +02:00
2026-05-12 01:10:01 +02:00
2026-05-11 17:12:00 +02:00
2026-03-21 00:47:54 +01:00
2026-05-05 09:53:37 +02:00
2026-05-06 14:08:38 +02:00
2026-02-24 16:06:36 +01:00
2026-05-05 09:53:37 +02:00
2026-04-29 16:32:26 +02:00
2026-05-09 23:55:50 +02:00
2026-05-11 17:12:00 +02:00
2026-05-06 11:12:02 +02:00
2026-05-06 11:12:02 +02:00
2026-04-22 18:14:01 +02:00
2026-05-12 01:10:01 +02:00
2026-05-11 00:27:44 +02:00
2026-05-06 11:12:02 +02:00
2026-05-11 17:12:00 +02:00
2026-05-12 01:10:01 +02:00
2026-05-09 12:41:16 +02:00
2026-04-15 11:17:39 +02:00
2026-05-05 09:53:37 +02:00
2026-05-06 11:12:02 +02:00
2026-05-08 15:42:06 +02:00
2026-04-29 16:32:26 +02:00