Commit Graph

60 Commits

Author SHA1 Message Date
Matthieu Haineault
2de8db6212 refactor(timesheets): dried findAll methods to centralize shareable methods 2025-10-10 11:34:39 -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
f6c5b2a73c refactor(shifts): refactor main upsert function to use shared utils and helpers 2025-10-08 08:54:43 -04:00
Matthieu Haineault
a750f79107 fix(timesheets): fix backend return to send an array of expenses with total mileage and total expense 2025-10-07 12:00:52 -04:00
Matthieu Haineault
4d905c905e Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-07 10:28:16 -04:00
Matthieu Haineault
0fc80f50f9 fix(timesheets): minor fix 2025-10-07 10:28:13 -04:00
e575b9bd54 Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack 2025-10-07 10:24:25 -04:00
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
c0569d8efd Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Don't know whyyyy
2025-10-07 08:20:44 -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
406233b2a3 Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
did something it didn't like, not sure whadid something it didn't like,
not sure whatt
2025-10-06 16:06:38 -04:00
fa845cf6e6 fix(timesheet): add some quality of life to get required info, employee name, change pay period response from week 1 and 2 to array of weeks 2025-10-06 16:06:26 -04:00
Matthieu Haineault
79c5bec0ee fix(controller): commented deprecated or unsued methods of controllers 2025-10-06 15:44:07 -04:00
Matthieu Haineault
3b4dd9ddb5 fix(mock): small typo in mock datas 2025-09-30 11:12:46 -04:00
Matthieu Haineault
52114deb33 feat(expenses): upsert function for expenses 2025-09-30 10:43:48 -04:00
1c797c348a "refactor(timesheet): add full employee name to return data to display in timesheet approval employee details dialog header" 2025-09-26 11:40:04 -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
eefe82153f fix(findAll): fix loop for week_shifts 2025-08-29 11:03:59 -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
9bc5c41de8 refactor(timesheets): refactored findAll to return more data 2025-08-28 10:22:00 -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
45386ac4bf fix(temp): temporary commented RolesAllowed tags for dev purposes. 2025-08-14 11:55:17 -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
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
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
36be6fb2f1 fix(modules): small ajustment to the structure 2025-08-01 16:17:58 -04:00