Commit Graph

36 Commits

Author SHA1 Message Date
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
25e9200c41 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/prisma/MariaDB 2026-02-03 11:42: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
Nic D
68883b84e7 feat(pay-period): add SSE for timesheet-approval when employees update timesheet and a user is on timesheet-approval 2026-01-21 10:21:58 -05:00
646cb58e98 feat(pay-period): begin integration of SSE route for live event-based feedback on timesheet update 2026-01-20 16:28:17 -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
6f9ba599a0 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-12-29 08:57:11 -05:00
7eb1471edb fix(pay-periods): specify that is_approved can be null in controller, to not confuse false with null 2025-12-29 08:56:22 -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
Matthieu Haineault
15d7821314 fix(pay-period): removed is_remote from payload and added dynamic returns of timesheet.is_approved 2025-12-23 07:18:01 -05:00
da74a93fa0 console.log 2025-12-22 14:10:26 -05:00
58baaade5d refactor(pay-periods): refactored bulkApprove for crew to instead toggle approval of all shifts and expenses of a given employee 2025-12-22 14:09:35 -05:00
Matthieu Haineault
ed7e013a71 clean(logs): removed debugging logs 2025-12-19 16:46:19 -05:00
Matthieu Haineault
447d968f59 feat(pay-period): added is_active to payload to filter inactive employee from the timesheets_approval page 2025-12-19 16:25:39 -05:00
Matthieu Haineault
c0d00d0ca9 feat(pay-period): added is_active to payload to filter inactive employee from the timesheets_approval page 2025-12-19 16:16:35 -05:00
Matthieu Haineault
581a4252cd fix(display): fix the display of amount, mileage and hours to use only 2 decimals and no more 2025-12-19 15:46:10 -05:00
Matthieu Haineault
681779345e fix(access): access troubleshooting 2025-12-19 12:43:11 -05:00
0c77df41c6 fix(pay-period): minor fix to pay period handling, was returning pay-year of date from request rather than pay-year from pay period in db 2025-12-15 09:01:37 -05:00
Matthieu Haineault
13962a8496 clean(modules): modules file cleaning 2025-12-04 14:50:23 -05:00
Matthieu Haineault
fb0187c117 feat(employees): ajusted employees module, added an update method and route 2025-12-02 12:57:49 -05:00
Matthieu Haineault
ebc1cd77d8 refactor(controllers): added ModuleAccessAllowed and Access decorators 2025-12-01 16:03:48 -05:00
6d1ac6c634 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-24 09:12:55 -05:00
7912695b8f fix(payperiods): refactor general overview method to return all employee overviews. 2025-11-24 09:02:31 -05:00
Matthieu Haineault
ddb6fa2ada feat(pay_periods): added Result Pattern to pay-period module 2025-11-19 10:41:49 -05:00
Matthieu Haineault
48f1220a4e clean(modules): cleaned unused dto files and added validation. Changed error messages to match i18n 2025-11-18 14:55:42 -05:00
Matthieu Haineault
3ceb2e0955 refactor(presets): refactor module to use Result Pattern commented to work on plugging error names 2025-11-18 13:49:18 -05:00
Matthieu Haineault
8df3becbb5 clean(modules): clean module imports and clean utils files 2025-11-13 15:30:29 -05:00
Matthieu Haineault
6adb614931 refactor(shifts): modified return and switched bank_code_id for types 2025-11-04 08:31:38 -05:00
Matthieu Haineault
bdbec4f68c feat(pay-period): added approval of timesheets, shifts and expenses by bulk. added route to controller 2025-11-03 14:14:09 -05:00
Matthieu Haineault
f1f765b350 clean(folder): cleaning imports 2025-11-03 11:47:41 -05:00
Matthieu Haineault
b1c6c50571 refactor(time-and-attendance): removed a layer of folder 2025-11-03 10:53:15 -05:00