Commit Graph

485 Commits

Author SHA1 Message Date
Matthieu Haineault
3ae1085e95 fix(schema): temporary comment on some schema lines to prep for removing employees/customer from this module 2025-10-27 10:17:11 -04:00
fc6681a548 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-27 09:59:34 -04:00
Matthieu Haineault
6c44bb5ad2 refactor(modules): moved some module to change the structure to domain oriented 2025-10-27 09:50:22 -04:00
Matthieu Haineault
2712033451 refactor(cleaning): preparing other modules for refactoring 2025-10-24 16:47:30 -04:00
Matthieu Haineault
1289aed720 reafactor(time-and-attendance): organized files and folders and centralize module files 2025-10-24 16:38:18 -04:00
Matthieu Haineault
b69b9f30d8 Merge branch 'dev/matthieu/refactor' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-24 16:15:58 -04:00
Matthieu Haineault
062b9b4640 refactor(expenses): major refactor of the CRUDs methods sing sessions data 2025-10-24 16:15:54 -04:00
4b39240606 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-24 14:23:35 -04:00
d16c4d4d86 fix(shift): minor fix for receiving date properly.
Change 'd' for 'day' in date-time-helpers. 'Also remove oauth-sessions, unused bloat
2025-10-24 14:23:26 -04:00
Matthieu Haineault
3e2265cbac BREAKING CHANGE(Time&Attendance): prep to split into APIs. setup structure for timesheet related modules 2025-10-23 14:23:53 -04:00
Matthieu Haineault
60aac39daa feat(timesheets): added an option to generate a second timesheet in case of a pay-period as no data in either the 1st or 2nd week 2025-10-22 13:50:17 -04:00
Matthieu Haineault
7fe2b6265a refactor(expenses): init setup to use session infos 2025-10-22 12:42:32 -04:00
Matthieu Haineault
9f27c83981 fix(pay-period): commented bulk approval and command service 2025-10-22 10:16:38 -04:00
Matthieu Haineault
0ce1191437 fix(pay-period): replug pay-period module 2025-10-22 10:13:42 -04:00
Matthieu Haineault
6488082290 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-22 08:59:08 -04:00
Matthieu Haineault
af9d89da01 refactor(expenses): commented old files, set up create update and delete expenses. set up findAll method and ajust query params of the timesheet controller 2025-10-22 08:59:04 -04:00
dd15a6dc14 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-22 08:09:54 -04:00
8b514c8beb refactor(auth): removed verification console logs 2025-10-22 08:09:13 -04:00
Matthieu Haineault
9270033f24 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-21 16:29:20 -04:00
Matthieu Haineault
6aeaf16993 refactor(expenses): commented module expenses et leave-request. needs refactor to match new timesheets and shifts module. 2025-10-21 16:27:56 -04:00
Matthieu Haineault
11f6cf2049 refactor(timesheets): deep refactor of the timesheet module and small corrections of the shift module. 2025-10-21 15:59:33 -04:00
Matthieu Haineault
b7ad300a6e refactor(shifts): refactor of the shift module to use an array of shifts 2025-10-21 12:11:26 -04:00
88f7c0cb0e Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-21 10:51:06 -04:00
1dbc0bf6c2 refactor(auth): add functionality to complete auth cycle, utilizer user from request. 2025-10-21 10:50:11 -04:00
Matthieu Haineault
d1974ea9e3 refactor(shifts): added Patch and Post route to shift module and added Overtime checks to create/update and delete functions. 2025-10-21 09:33:04 -04:00
Matthieu Haineault
7537c2ff0d refactor(shifts): massive do-over of the whole module. exposed delete route only and simplified find and create/update functions. 2025-10-20 14:59:24 -04:00
Matthieu Haineault
bba6c84b6f Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-20 08:55:21 -04:00
Matthieu Haineault
fad4f6f3d6 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-20 08:54:45 -04:00
Matthieu Haineault
e1b63bd61a clean(none): clean slate , removed useless code lines 2025-10-15 16:36:05 -04:00
Matthieu Haineault
6b17b2c639 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-15 14:09:21 -04:00
Matthieu Haineault
a563df0943 feat(timesheets): preparing for Express Session requests 2025-10-15 14:08:59 -04:00
Matthieu Haineault
119116e11d feat(timesheets): preparing for Express Session requests 2025-10-15 14:00:28 -04:00
Matthieu Haineault
46b4222999 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-14 16:44:16 -04:00
Matthieu Haineault
0ea3f51974 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-14 16:44:03 -04:00
Matthieu Haineault
06ad34a4c8 refactor(shared): centralized some small logics 2025-10-14 16:43:18 -04:00
Matthieu Haineault
cefba7a2dd fix(shifts): fixed findTimesheet to findUnique instead of upsert 2025-10-14 14:29:37 -04:00
Matthieu Haineault
9ad4e63485 refactor(shifts): removed return statement of Delete shift function 2025-10-14 14:18:31 -04:00
Matthieu Haineault
77e10c67c7 fix(seeders): ajusted shifts and expenses seeders 2025-10-14 13:28:42 -04:00
Matthieu Haineault
d1c41ea1bd fix(seeders): fix holiday bank_code and week_start logics to match Sunday to Saturday 2025-10-14 12:25:09 -04:00
Matthieu Haineault
a88aaf34f0 fix(shifts): modified ensureTimesheet 2025-10-14 11:59:26 -04:00
Matthieu Haineault
5ec131c863 fix(shfits):small fix 2025-10-14 11:16:08 -04:00
Matthieu Haineault
1fe2c1291c fix(shift): changed default value of is_approved in asLocalDateOn 2025-10-14 11:14:43 -04:00
Matthieu Haineault
8ad8076f4d fix(shifts): fix bank_code_id by type 2025-10-14 10:58:43 -04:00
Matthieu Haineault
feeb19bbf0 fix(shfits): small route fix 2025-10-14 10:38:24 -04:00
Matthieu Haineault
99e9f1f3bf feat(shifts): extract delete logics outside of master upsert method and create a new route for delete requests 2025-10-14 10:35:30 -04:00
Matthieu Haineault
d95b6471cd fix(shifts): modified controller to accept a query action. clean up module 2025-10-14 10:04:48 -04:00
Matthieu Haineault
5292f1af11 feat(preferences): added display options to preferences table 2025-10-14 09:33:29 -04:00
Matthieu Haineault
2f0982c952 refactor(shifts): modified shifts.utils to use ISO format instead of UTC 2025-10-10 17:01:05 -04:00
Matthieu Haineault
4ff512a207 refactor(shifts): refactored shiftCommandService and moved helpers to shifthelpersService 2025-10-10 16:44:44 -04:00
Matthieu Haineault
408e52b4f5 refactor(timesheets): refacatored query-service 2025-10-10 13:29:26 -04:00