Commit Graph

35 Commits

Author SHA1 Message Date
Matthieu Haineault
c58e8db59f fix(timesheets: minor fix 2025-10-07 10:07:47 -04:00
Matthieu Haineault
791a953744 fix(timesheets): modified returns to show total expense, total mileage and an array of all expenses per date 2025-10-07 09:49:42 -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
52114deb33 feat(expenses): upsert function for expenses 2025-09-30 10:43:48 -04:00
Matthieu Haineault
125f443ec0 feat(timesheet): added comment and supervisor comment to payload of findAll 2025-09-10 16:20:37 -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
0fb6465c27 fix(timesheet): added is_remote 2025-09-09 08:19:50 -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
dac53c6780 fix(timesheets): fix query to use helper instead of library function 2025-09-08 10:14:14 -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
5063c1dfec fix(seeder): fix bank_codes for expenses seeder 2025-09-02 15:16:03 -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
18c1ce38be fix(timesheets): small typo to_num function 2025-08-29 11:17:24 -04:00
Matthieu Haineault
0516736fa2 refactor(timesheet): added shift types and expenses type data 2025-08-29 08:28:47 -04:00
Matthieu Haineault
ea76435f4f fix(seeder): fix seeders 2025-08-28 14:43:23 -04:00
Matthieu Haineault
994e02ba7f refactor(timesheets): refactored findAll to return more data 2025-08-28 10:22:19 -04:00
Matthieu Haineault
301d5f2c9d feat(timesheet): replaced findAll by getPeriodByQuery with year, period_no and email query params. 2025-08-25 08:07: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
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
Matthieu Haineault
4d2ed4714f fix(timesheet): removed magic number 2025-08-18 10:57:35 -04:00
Matthieu Haineault
4c880e47bf refactor(module): rename and refactor services 2025-08-11 14:58:03 -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
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
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
75615f7c33 feat(business-logic): base setup for business logic implementation, overtime.service and updated timesheets.service to returned overtime infos. 2025-07-31 10:16:25 -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
Matthieu Haineault
5274bf41c1 feat(archival): setup services and modules for archivation options via Cron job. small fixes to schema.prisma 2025-07-29 14:54:19 -04:00
Matthieu Haineault
5996e0c389 feat(modules): timesheets, shifts, shift-codes and minor fix in employees 2025-07-17 13:14:33 -04:00
Matthieu Haineault
5e35637e0b feat(modules): setup modules shifts, timesheets, shift-codes and leave-requests 2025-07-16 12:51:00 -04:00