Commit Graph

105 Commits

Author SHA1 Message Date
21dfe60548 fix(timesheet): minor fix to apply preset logic, less iteration 2025-12-17 10:50:49 -05:00
Matthieu Haineault
08679b7db3 feat(help): set-up function to build personnalized help in the help section 2025-12-17 08:42:32 -05:00
Matthieu Haineault
f9a247d9f1 feat(csv): ajusted csv logics and minor fixes to employees 2025-12-12 13:26:09 -05:00
Matthieu Haineault
be957d8180 fix(schedule_preset) : added a check to remove preset_id for employees using the newly deleted preset 2025-12-11 12:02:34 -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
2faecf8e30 fix(swagger): moved swagger-spec.json 2025-12-04 17:04:10 -05:00
Matthieu Haineault
a5917cbe9d clean(modules): modules file cleaning 2025-12-04 17:01:28 -05:00
Matthieu Haineault
d81186ba2b clean(modules): modules file cleaning 2025-12-04 15:00:36 -05:00
Matthieu Haineault
4c933d3564 fix(shifts): small return fixes 2025-12-04 10:46:48 -05:00
838189ae1f fix(employee) change dto so that module access is typesafe, modify update route to exclude session email 2025-12-03 16:59:03 -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
Matthieu Haineault
98180dd16b refactor(employees): adapted logics to match new userModuleAccess and cleaned module of unused methods 2025-12-01 11:28:42 -05:00
Matthieu Haineault
ddb469cd8e feat(decorator): create a new Access decorator and added external_payroll_id to findEmployee 2025-12-01 08:34:08 -05:00
Matthieu Haineault
eeaf8daf4a fix(schema): small fix to userModuleAccess model 2025-11-27 09:28:11 -05:00
Matthieu Haineault
d7b1bab68f fix(preferences): minor type fix to dto 2025-11-26 15:33:10 -05:00
Matthieu Haineault
439e005936 fix(user_module_access): fix imports and file naming 2025-11-26 15:10:02 -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
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
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
1a88e02411 clean(modules): clean module imports and clean utils files 2025-11-13 15:23:17 -05:00
Matthieu Haineault
e067e15bb1 fix(timesheets): added type to expense in return 2025-11-12 13:30:51 -05:00
Matthieu Haineault
40072af4a6 fix(timesheets): changed function calls from query to body 2025-11-12 09:40:01 -05:00
Matthieu Haineault
03d9fa2cf4 clean(schedule-presets): clean module of unused imports 2025-11-07 16:49:16 -05:00
Matthieu Haineault
4e48d98c0f fix(shifts): commented unused service function 2025-11-06 11:10:25 -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
c59b50a829 refactor(schedule-presets): modified route and params to use session data 2025-11-03 11:19:21 -05:00
Matthieu Haineault
bb60887a0d refactor(timesheet): used session data and removed email from query of the Get function 2025-10-31 14:04:07 -04: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
2debd40871 fix(imports): fix constants imports 2025-10-30 12:24:24 -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
5e49bc5df6 refactor(utils): moved utils to shared utils folder 2025-10-27 11:47:38 -04:00
Matthieu Haineault
ac1eaabb5d fix(schema): remove commented lines 2025-10-27 10:20:56 -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
1289aed720 reafactor(time-and-attendance): organized files and folders and centralize module files 2025-10-24 16:38:18 -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
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
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
1dbc0bf6c2 refactor(auth): add functionality to complete auth cycle, utilizer user from request. 2025-10-21 10:50:11 -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
9efdafb20f refactor(preferences & modules): changed type from boolean to Int so each preferences can have more than 2 options.
Also cleaned-up module imports/providers
2025-10-10 09:27:57 -04:00
Matthieu Haineault
71d86f7fed refactor(helpers): moved helpers to a shared file 2025-10-09 16:41:34 -04:00