Nic D
5f4fb3594a
fix(pay-period, timesheet): fix issue where overtime wasn't calculated properly.
...
Also fix issue where employee overviews would sometimes falsely return as approved if employee had no timesheets created yet. This is due to Array.prototype.every returning true on an empty array.
2026-03-13 15:21:04 -04:00
Nic D.
daf35d0e40
fix(pay-periods): fix error where mileage was not being returned correctly for overviews
2026-03-11 12:51:34 -04:00
Nic D
6df3aa944d
fix(pay-period): Fix issue where overviews would sometimes return approval false
...
Overviews would be flagged as not approved if there were no shifts nor expenses on the timesheets, but it needs to be approved not just for accounting purposes, but to lock the timesheets from retroactive modifications as well.
2026-03-09 09:28:22 -04:00
Matthieu Haineault
c427cc7718
reafactor(EsLint): Eslint corrections
2026-02-27 13:19:38 -05:00
Matthieu Haineault
6d17baf6c8
fix(prisma): fix prisma calls to match 7.3.0 versions
2026-02-05 11:52:46 -05:00
Matthieu Haineault
b269062816
fix(Prisma): Fix prisma queries around the whole app to match new structure of many instance of clients/services files. added scripts to manage more than one schema at a time
2026-02-04 14:13:06 -05:00
Matthieu Haineault
a3bdd41648
fix(prisma-client): modified imports in many files to match the new structure of the Prisma ORM. (where @prisma/client => prisma/generated/postgres/client). Added commented mariaDB variables to Dockerfile for future connections
2026-02-04 10:18:03 -05:00
Matthieu Haineault
8b9c2f7a86
feat(mariaDB): clean prisma MariaDB folders. re-organized it and added scripts command for easier generation and migration
2026-02-03 15:52:02 -05:00
Matthieu Haineault
d7eacd127c
feat(prisma): setup for including MariaDB with the new Prisma version 7.3.0
2026-02-03 11:40:08 -05:00
fa64b7d919
feat(timesheet-approval): add overtime calculation for overview and timesheet details
2026-01-13 16:27:27 -05:00
c43d7649ca
feat(approvals): add functionality to return weekly hours breakdown
2026-01-09 07:44:15 -05:00
Nic D.
6adbcad352
???(???): holiday work, forget what it was. Probably related to timesheet approval and its filters
2025-12-29 06:53:16 -05:00
Matthieu Haineault
d613d97a1a
fix(pay-period): small fix to query
2025-12-23 14:22:28 -05:00
Matthieu Haineault
264ee101bf
refactor(pay-period): refactor buildOverview and cleaned service/controller
2025-12-23 14:17:37 -05:00