Commit Graph

81 Commits

Author SHA1 Message Date
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
5a1017f82b fix(pay-period): change payload to send regular hours and other hours, rather than each individual shift type as a property 2025-10-09 15:17:02 -04:00
Matthieu Haineault
83792e596a feat(schedule_presets): module schedule_presets setup. Ajustments to seeders to match new realities 2025-10-08 16:45:37 -04:00
Matthieu Haineault
cc310e286d feat(expenses): method implementation to show a list of all expenses made by an employee using email, year and period_no 2025-10-07 13:51:35 -04:00
Matthieu Haineault
c58e8db59f fix(timesheets: minor fix 2025-10-07 10:07:47 -04:00
Matthieu Haineault
79c5bec0ee fix(controller): commented deprecated or unsued methods of controllers 2025-10-06 15:44:07 -04:00
Matthieu Haineault
79153c6de3 feat(leave-requests): implementation of vacation, sick and holiday leave-requests. 2025-10-06 12:15:51 -04:00
Matthieu Haineault
3984540edb fix(leaves and expenses): import name fixes 2025-10-03 10:22:27 -04:00
Matthieu Haineault
3b4dd9ddb5 fix(mock): small typo in mock datas 2025-09-30 11:12:46 -04:00
Matthieu Haineault
f9931f99c8 feat(validationPipe): Global Exception Filter basic setup using APP_FILTER and APP_PIPE 2025-09-11 16:48:05 -04:00
Matthieu Haineault
6e1f5ce9a2 refactor(shifts_expenses): refactor description to comment to match frontend 2025-09-09 09:24:54 -04:00
Matthieu Haineault
a73ed4b620 refactor(seeders): added complexity to shifts and expenses seeders 2025-09-08 09:43:46 -04:00
Matthieu Haineault
4f7563ce9b feat(timesheet): added Post function to create a new shifts inside a timesheet 2025-09-04 15:14:48 -04:00
Matthieu Haineault
93cf2d571b feat(timesheet): added getTimesheetByEmail 2025-09-02 14:29:00 -04:00
Matthieu Haineault
c52de6ecb8 fix(seeds): fix timesheet seeds 2025-08-29 11:44:04 -04:00
Matthieu Haineault
c336e024d5 Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend 2025-08-28 10:24:42 -04:00
Matthieu Haineault
994e02ba7f refactor(timesheets): refactored findAll to return more data 2025-08-28 10:22:19 -04:00
Matthieu Haineault
13bc09c77e fix(customer): phone_number type fix 2025-08-26 13:23:54 -04:00
Matthieu Haineault
72f6cc8a9e refactor(routes): ajusted routes on Patch functions 2025-08-25 13:14:19 -04:00
Matthieu Haineault
d1fe7868f9 refactor(variables): renamed variables to use snake_case 2025-08-20 15:33:48 -04:00
Matthieu Haineault
3c8c999bfe feat(approval): selected approval by bulk for pay-period using crew view. renamed variables to use snake_case 2025-08-20 15:33:17 -04:00
Matthieu Haineault
220f5901dd refactor(pay-periods): removed employe_id from pay_load 2025-08-19 15:46:18 -04:00
Matthieu Haineault
f765a99273 refactor(pay-period): ajusted logics services and controller of model pay-periods 2025-08-19 14:49:47 -04:00
Matthieu Haineault
ae6ce4bf97 feat(pay-period): added email to Param of getCrewOverview 2025-08-19 09:37:53 -04:00
Matthieu Haineault
7a9adeec69 refactor(module): refactor employees, archives and pay-period to use email instead of id and switch pay-period's requests to transaction 2025-08-19 08:34:35 -04:00