Commit Graph

487 Commits

Author SHA1 Message Date
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
5bfeaaf4de fix(expenses): small fix update 2025-11-18 08:56:40 -05:00
Matthieu Haineault
2958403f08 fix(expenses): fix date update and make sure the timesheet_id is updated when the date changes week 2025-11-18 08:46:39 -05:00
Matthieu Haineault
194a12d7ab fix(expenses): fix Prisma query select 2025-11-18 08:24:51 -05:00
Matthieu Haineault
7863a15562 fix(expenses): fixes to prisma create request 2025-11-17 16:04:36 -05:00
Matthieu Haineault
fc88b3a032 fix(expenses): fixes to prisma create request 2025-11-17 15:45:49 -05:00
Matthieu Haineault
db78c70eb0 fix(expenses): fixes to dto 2025-11-17 15:43:18 -05:00
Matthieu Haineault
6e52bdb4e4 fix(expenses): fixes to dto 2025-11-17 15:27:46 -05:00
Matthieu Haineault
e43cb489cf fix(typing): removed validation on ExpenseDto 2025-11-17 15:05:32 -05:00
Matthieu Haineault
99cb5da69d fix(imports): small import fix 2025-11-17 14:55:12 -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
8c816da286 cleaning(): more cleaning and imports ajustements 2025-11-14 09:39:15 -05:00
Matthieu Haineault
1589df979f clean(): file cleaning 2025-11-14 09:35:05 -05:00
Matthieu Haineault
7968359bfe clean(imports): module import cleaning 2025-11-13 15:34:48 -05:00
Matthieu Haineault
292013a846 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-13 15:30:32 -05:00
Matthieu Haineault
8df3becbb5 clean(modules): clean module imports and clean utils files 2025-11-13 15:30:29 -05:00
Matthieu Haineault
1a88e02411 clean(modules): clean module imports and clean utils files 2025-11-13 15:23:17 -05:00
Matthieu Haineault
30cc41955b fix():fix merge 2025-11-13 13:54:01 -05:00
Matthieu Haineault
e72b63116c Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-13 13:53:32 -05:00
Matthieu Haineault
214d6aa370 fix(shifts): small error typing fix 2025-11-13 13:52:48 -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
6aa464a76e fix(shifts): fix overlap shifts 2025-11-13 11:05:13 -05:00
Matthieu Haineault
7e95e8dae3 fix(shifts): minor overlap fix 2025-11-13 10:31:50 -05:00
Matthieu Haineault
b513f02fe5 fix(time and attendances): fix imports 2025-11-13 09:55:34 -05:00
Matthieu Haineault
0764eebc98 fix(shifts): fix overlap checks for updating shifts 2025-11-13 09:53:48 -05:00
Matthieu Haineault
2003b5357d fix(timesheets): typing fix 2025-11-13 08:20:01 -05:00
Matthieu Haineault
96490563c6 fix(timesheets): small query fix 2025-11-12 14:17:29 -05:00
Matthieu Haineault
14c00522db fix(timesheets): ajusted type of function mapOneTimesheet 2025-11-12 14:13:04 -05:00
Matthieu Haineault
c59844560a fix(imports): minor fix of imports 2025-11-12 13:35:03 -05:00
Matthieu Haineault
e067e15bb1 fix(timesheets): added type to expense in return 2025-11-12 13:30:51 -05:00
Matthieu Haineault
73a2a755e4 fix(timesheets): fix id.data 2025-11-12 10:31:25 -05:00
Matthieu Haineault
40072af4a6 fix(timesheets): changed function calls from query to body 2025-11-12 09:40:01 -05:00
Matthieu Haineault
d88f8727ad Merge branch 'dev/matthieu/error-handling' of git.targo.ca:Targo/targo_backend 2025-11-12 09:21:42 -05:00
Matthieu Haineault
1d9eaeab30 feat(Result): ajusted return values to match Result pattern. 2025-11-12 09:16:37 -05:00
Matthieu Haineault
a8d53ab0aa fix(shifts): added Promise to remove function of the shift controller 2025-11-11 14:52:34 -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
750dd95071 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-11 12:56:16 -05:00
c8e3f66cf0 feat: updated prisma schema and npm packages. 2025-11-11 12:56:02 -05:00
Matthieu Haineault
6332a42fa7 feat(presets): small ajustements 2025-11-10 11:16:10 -05:00
Matthieu Haineault
03d9fa2cf4 clean(schedule-presets): clean module of unused imports 2025-11-07 16:49:16 -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
7817c3b758 fix(shifts): fix the type update 2025-11-06 14:42:39 -05:00
Matthieu Haineault
809209533a fix(employee): setting up the profil section 2025-11-06 14:00:19 -05:00
Matthieu Haineault
e34658fc41 fix(shifts): ajusted return 2025-11-06 12:47:36 -05:00
Matthieu Haineault
4e48d98c0f fix(shifts): commented unused service function 2025-11-06 11:10:25 -05:00