Files
accounted/lib
Mattsson 8979f6eda3 Bug/year end failure (#575)
* feat: implement findNextPeriod function and integrate into year-end closing logic

* feat: add integrity check for PDF documents and enhance user feedback for corrupt files

* Refactor year-end service and period creation logic for improved UTC handling and error messaging

- Update `validateYearEndReadiness` to assert on stable warning messages without interpolating period names.
- Modify `createNextPeriod` to ensure date calculations are performed in UTC, preventing DST-related issues.
- Enhance error handling in `validateYearEndReadiness` and `executeYearEndClosing` to avoid exposing database details.
- Introduce structured error messages for year-end processes in `structured-errors.ts`.
- Add tests for document integrity checks, ensuring proper authentication and error handling.
- Implement GUC checks in document versioning to prevent unauthorized modifications and ensure company membership.
- Update migration scripts to reflect changes in document immutability enforcement.

* fix: add comment to clarify GUC behavior in document supersession logic
2026-05-27 14:19:30 +02:00
..
2026-05-06 11:12:02 +02:00
2026-05-26 22:29:41 +02:00
2026-05-26 22:29:41 +02:00
2026-05-27 11:01:53 +02:00
2026-03-21 00:47:54 +01:00
2026-05-27 14:19:30 +02:00
2026-02-24 16:06:36 +01:00
2026-05-05 09:53:37 +02:00
2026-05-26 22:29:41 +02:00
2026-05-27 14:19:30 +02:00
2026-05-26 22:29:41 +02:00
2026-04-22 18:14:01 +02:00
2026-05-26 22:29:41 +02:00
2026-05-27 11:01:53 +02:00
2026-05-21 01:25:18 +02:00
2026-05-26 22:29:41 +02:00
2026-05-27 11:01:53 +02:00
2026-05-26 22:29:41 +02:00
2026-05-13 15:17:32 +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