Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
Matthieu Haineault
af8ea95cc4 fix(shifts): changed UTC comparison for ISOString 2025-10-09 15:45:57 -04:00
Matthieu Haineault
4527b0e7f7 fix(shifts): clean 2025-10-09 15:22:34 -04:00
Matthieu Haineault
9b169d43c8 resolve mergre 2025-10-08 08:57:24 -04:00
Matthieu Haineault
f6c5b2a73c refactor(shifts): refactor main upsert function to use shared utils and helpers 2025-10-08 08:54:43 -04:00
Matthieu Haineault
57b74b1726 fix(modules): deprecate old methods and extract utils and helpers. created archival services. 2025-10-07 08:18:46 -04:00
Matthieu Haineault
79c5bec0ee fix(controller): commented deprecated or unsued methods of controllers 2025-10-06 15:44:07 -04:00
Matthieu Haineault
d8bc05f6e2 feat(preferences): setup for prefrences module which allows a user to manage dark mode, notifications, lefty mode for phone user and a lang switch (en, fr) 2025-10-03 14:03:09 -04:00
Matthieu Haineault
52114deb33 feat(expenses): upsert function for expenses 2025-09-30 10:43:48 -04:00
Matthieu Haineault
cc48584b99 feat(shifts): ajusted validations for create/update/delete shifts 2025-09-16 09:17:59 -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
ef4f6340d2 feat(shifts): added a master function to create/update/delete a single shift 2025-09-11 15:22:57 -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
954411d995 refactor(shifts): added is_remote to track work from home shifts 2025-09-08 15:25:09 -04:00
Matthieu Haineault
72f6cc8a9e refactor(routes): ajusted routes on Patch functions 2025-08-25 13:14:19 -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
f765a99273 refactor(pay-period): ajusted logics services and controller of model pay-periods 2025-08-19 14:49:47 -04:00
Matthieu Haineault
a23a6299dd refactor(module): refactored expenses and shifts approval to be made in batch iva timesheets 2025-08-19 08:44:36 -04:00
Matthieu Haineault
45386ac4bf fix(temp): temporary commented RolesAllowed tags for dev purposes. 2025-08-14 11:55:17 -04:00
Matthieu Haineault
5b1746da9d fix(prisma): minor fix 2025-08-13 15:51:46 -04:00
Matthieu Haineault
1949731773 feat(tests): setup e2e-spec files for route testing. shifts, expenses, timesheets 2025-08-13 09:57:05 -04:00
Matthieu Haineault
fd3b9334e3 feat(tests): setup e2e-spec files for route testing. bank_codes, customers, employees 2025-08-13 08:58:42 -04:00
Matthieu Haineault
4c880e47bf refactor(module): rename and refactor services 2025-08-11 14:58:03 -04:00
Matthieu Haineault
6139d335c3 refactor(module): renamed services to match their uses 2025-08-11 14:12:42 -04:00
Matthieu Haineault
80ddc853a4 refactor(modules): removed swagger entities and added docs to dtos 2025-08-11 14:08:55 -04:00
Matthieu Haineault
91b718237d refactor(pay-period): refactor module to match required needs 2025-08-11 09:03:28 -04:00
Matthieu Haineault
91ef6685b4 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/modules/MatthieuH 2025-08-08 14:48:44 -04:00
Matthieu Haineault
1e4ec836d3 fix(notify): fixes and setup notify for daily overtime 2025-08-08 14:47:47 -04:00
f4c69c4620 fix(merge): conflicts resolved 2025-08-08 13:44:24 -04:00
a27276f3ae fix(guards)clean up superfluous files in auth module. Remove wrong guard from controllers in other modules. Needs to be role guard and not auth guard. 2025-08-08 13:40:12 -04:00
Matthieu Haineault
13a3ccb292 fix(module): added approval services to providers of their respective modules 2025-08-07 09:20:22 -04:00
Matthieu Haineault
44da99e7c1 feat(module): search and filter querries for shifts, expenses, timesheets, leave-requests 2025-08-07 09:11:50 -04:00
Matthieu Haineault
c23da925e7 feat(approval): clean up Approval services. creation of a "shared" folder 2025-08-06 14:17:52 -04:00
Matthieu Haineault
ef5af80471 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/modules/MatthieuH 2025-08-06 13:17:32 -04:00
Matthieu Haineault
cb6ec29992 refactor(validation): Partial modification of the file structure for validation process, added migration 20250806 2025-08-06 13:15:34 -04:00
Matthieu Haineault
50c3bca11b feat(utils): added date-utils.ts and refactor services to use it 2025-08-05 11:39:34 -04:00
Matthieu Haineault
5df657d773 fix(module): fix typos and added import to shifts.module.ts 2025-08-04 11:54:44 -04:00
Matthieu Haineault
ee059429f8 feat(module): added shifts-validation module. service to export to csv file 2025-08-04 11:25:45 -04:00
Matthieu Haineault
36be6fb2f1 fix(modules): small ajustment to the structure 2025-08-01 16:17:58 -04:00
Matthieu Haineault
2d69cfdb86 feat(business-logic): implementation of business-logics services into their respective modules. 2025-08-01 14:54:09 -04:00
Matthieu Haineault
f874d2c5c6 BREAKING CHANGE(bank_codes): shift-codes table and expenses-codes table deleted and refactoring of modules calling "x-codes" to use bank-codes 2025-07-30 14:39:43 -04:00
Matthieu Haineault
09a213d5dd feat(archival): added controllers to add a search option for archive tables for admin, hr and supervisors 2025-07-30 10:07:24 -04:00