Commit Graph

69 Commits

Author SHA1 Message Date
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
Matthieu Haineault
11f6cf2049 refactor(timesheets): deep refactor of the timesheet module and small corrections of the shift module. 2025-10-21 15:59:33 -04:00
Matthieu Haineault
b7ad300a6e refactor(shifts): refactor of the shift module to use an array of shifts 2025-10-21 12:11:26 -04:00
Matthieu Haineault
7537c2ff0d refactor(shifts): massive do-over of the whole module. exposed delete route only and simplified find and create/update functions. 2025-10-20 14:59:24 -04:00
Matthieu Haineault
e1b63bd61a clean(none): clean slate , removed useless code lines 2025-10-15 16:36:05 -04:00
Matthieu Haineault
a563df0943 feat(timesheets): preparing for Express Session requests 2025-10-15 14:08:59 -04:00
Matthieu Haineault
06ad34a4c8 refactor(shared): centralized some small logics 2025-10-14 16:43:18 -04:00
Matthieu Haineault
4ff512a207 refactor(shifts): refactored shiftCommandService and moved helpers to shifthelpersService 2025-10-10 16:44:44 -04:00
Matthieu Haineault
408e52b4f5 refactor(timesheets): refacatored query-service 2025-10-10 13:29:26 -04:00
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