Commit Graph

36 Commits

Author SHA1 Message Date
Matthieu Haineault
dda1592871 clean(pre-prod): did some cleaning 2026-01-12 09:54:38 -05:00
Matthieu Haineault
264ee101bf refactor(pay-period): refactor buildOverview and cleaned service/controller 2025-12-23 14:17:37 -05:00
Nic D.
cb52089db8 fix(schedule-preset): adjust services to use consistent dto and field names (mix of shifts and preset_shifts) 2025-12-10 16:51:38 -05:00
Matthieu Haineault
b6132c8b35 feat(schedule-presets): added a service that applies a preset to an existing timesheet. did some cleaning in utils and dtos 2025-12-09 13:02:10 -05:00
Matthieu Haineault
7863a15562 fix(expenses): fixes to prisma create request 2025-11-17 16:04:36 -05:00
Matthieu Haineault
6e52bdb4e4 fix(expenses): fixes to dto 2025-11-17 15:27:46 -05:00
Matthieu Haineault
7fbcc29b8a fix(expenses): ajusted return values (added type) 2025-11-17 14:54:10 -05:00
Matthieu Haineault
6936ac39fa refactor(leave-requests): refactor the logic of the module leave-requests and modified naming in timesheet GET function 2025-11-17 14:13:38 -05:00
Matthieu Haineault
8df3becbb5 clean(modules): clean module imports and clean utils files 2025-11-13 15:30:29 -05:00
37b150d87c fix(shifts): fix minor issue with using UTC instead of local time to get timesheet id 2025-11-13 12:17:00 -05:00
Matthieu Haineault
2003b5357d fix(timesheets): typing fix 2025-11-13 08:20:01 -05:00
Matthieu Haineault
1d9eaeab30 feat(Result): ajusted return values to match Result pattern. 2025-11-12 09:16:37 -05:00
Matthieu Haineault
383a01639a feat(Result): added the result pattern to handle errors at any level. Ajusted modules 2025-11-11 14:51:50 -05:00
Matthieu Haineault
8dca65d00e refactor(expenses): ajusted the controller and service to match new session set-up and did some cleaning 2025-11-07 13:09:32 -05:00
Matthieu Haineault
eb166dbc46 clean(shifts): clean module of unused features 2025-11-06 16:45:00 -05:00
Matthieu Haineault
efc06b8857 fix(shifts): removed unused overtime calculation and return from create or update shifts 2025-11-06 14:45:16 -05:00
Matthieu Haineault
e34658fc41 fix(shifts): ajusted return 2025-11-06 12:47:36 -05:00
Matthieu Haineault
c0189dc61d fix(shifts): rework update and create to match ShiftEntity 2025-11-06 11:04:55 -05:00
88d4f2fe27 fix(shift): fix minor issue with naming property (changed to shift_id from id) 2025-11-05 14:31:31 -05:00
Matthieu Haineault
407f04ac0b fix(shifts): fix a problem with overlaps 2025-11-04 16:42:14 -05:00
Matthieu Haineault
eda1f86235 refactor(shifts): added date to overlap comparisons 2025-11-04 15:15:04 -05:00
Matthieu Haineault
3741bf3b26 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-04 08:31:40 -05:00
Matthieu Haineault
6adb614931 refactor(shifts): modified return and switched bank_code_id for types 2025-11-04 08:31:38 -05:00
fef9ea0b74 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-03 15:43:58 -05:00
29f131e307 fix(local): switch values back to local for local testing
Will need to figure out a method to automatically detect if backend is running locally or remotely to avoid switching URIs back and forth constantly
2025-11-03 15:43:10 -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
Matthieu Haineault
e0cefc8ec9 refactor(expenses): modified createExpense signature. removed timesheet_id from the param. ajusted auth logic 2025-10-31 12:11:55 -04:00
Matthieu Haineault
2b033de91b fix(imports): ajusted imports to remove relative paths 2025-10-30 13:57:16 -04:00
Matthieu Haineault
2debd40871 fix(imports): fix constants imports 2025-10-30 12:24:24 -04:00
Matthieu Haineault
50521b7c68 refactor(presets): removed upsertAction manipulation. created 3 seperate routes for create update et delete. 2025-10-30 12:04:05 -04:00
Matthieu Haineault
7eb3844713 clean(time_and_attendance): cleaning helpers, types, mappers, constants 2025-10-27 15:50:57 -04:00
Matthieu Haineault
4cb01de970 feat(time_and_attendance): clean files of deprecated imports and moved utils to shared utils folder. Modified @Body for create and update shifts to use only an array of shifts 2025-10-27 15:23:28 -04:00
Matthieu Haineault
28f811e1fb refactor(modules): clean up module.ts files to match new imports/controllers/providers 2025-10-27 13:28:39 -04:00
Matthieu Haineault
e7a50df5e5 refactor(selects): moved select: lines to shared file 2025-10-27 12:08:06 -04:00
Matthieu Haineault
5e49bc5df6 refactor(utils): moved utils to shared utils folder 2025-10-27 11:47:38 -04:00