Commit Graph

201 Commits

Author SHA1 Message Date
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
caf03d8d68 fix(leave-requests): fix depencies for the Leave-Requests Module 2025-10-06 14:00:25 -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
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
3984540edb fix(leaves and expenses): import name fixes 2025-10-03 10:22:27 -04:00
Matthieu Haineault
10d4f11f76 feat(leave-request): added holiday shift's creation and CRUD for holiday leave-requests. 2025-10-03 09:38:09 -04:00
Matthieu Haineault
d36d2f922b feat(leave-request): added holiday shift's creation and CRUD for holiday leave-requests. 2025-10-03 09:37:42 -04:00
Matthieu Haineault
77f065f37f feat(expense): link expense with attachment. 2025-10-01 16:35:40 -04:00
Matthieu Haineault
f8f4ad5a83 fix(expenses): ajusted mileage logic 2025-10-01 10:02:52 -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
46deae63bc fix(holiday): minor valid_codes fix 2025-09-16 14:47:35 -04:00
5621f72342 Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack 2025-09-16 11:21:56 -04:00
bcf73927bd fix(payperiod): add minor fix to total hours calculated method 2025-09-16 11:20:50 -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
125f443ec0 feat(timesheet): added comment and supervisor comment to payload of findAll 2025-09-10 16:20:37 -04:00
Matthieu Haineault
a343ace0b7 fix(pay-period): fix total_hours calculation 2025-09-09 10:24:53 -04:00
a3d4b0cef7 Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Why am I constantly getting these merge messages
2025-09-09 09:30:17 -04:00
Matthieu Haineault
6e1f5ce9a2 refactor(shifts_expenses): refactor description to comment to match frontend 2025-09-09 09:24:54 -04:00
8e25e939af Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack
Something something
2025-09-09 09:02:58 -04:00
Matthieu Haineault
8ef5c0ac11 feat(pay-periods): added total_hours and is_remote to payload 2025-09-09 09:01:33 -04:00
75f07aaf99 Merge branch 'main' of git.targo.ca:Targo/targo_backend into auth-session-fullstack 2025-09-09 08:28:43 -04:00
d45feb1aa0 fix(payperiod): add type to payload. 2025-09-09 08:21:27 -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
c170481f3b fix(pay-period): switch filters from categorie to type 2025-08-29 13:16:58 -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
213b68fb7d Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend 2025-08-28 14:03:52 -04:00
Matthieu Haineault
5b2377796a refactor(CSV): modify export csv to match checklist options 2025-08-28 13:33:31 -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
9bc5c41de8 refactor(timesheets): refactored findAll to return more data 2025-08-28 10:22:00 -04:00
Matthieu Haineault
13bc09c77e fix(customer): phone_number type fix 2025-08-26 13:23:54 -04:00
Matthieu Haineault
7b86b8c662 refactor(employee): switched phone_number type from number to string 2025-08-26 12:50:11 -04:00
Matthieu Haineault
35e2e38811 feat(attachments): setup Garbage Collector for attachments module 2025-08-25 16:42:05 -04:00
Matthieu Haineault
fe32081ed9 feat(attachments): setup AdminSearchDto, CronJobs for archival and display route via controller 2025-08-25 15:46:28 -04:00
Matthieu Haineault
a3c58fb0f5 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH 2025-08-25 13:29:56 -04:00
Matthieu Haineault
72f6cc8a9e refactor(routes): ajusted routes on Patch functions 2025-08-25 13:14:19 -04:00
Matthieu Haineault
514f41df19 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH 2025-08-25 08:16:34 -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
d58f4e392c feat(variants): setup variants of file types 2025-08-22 13:16:35 -04:00
Matthieu Haineault
2eadabbdb4 fix(Leave-Requests): small fix in Promises 2025-08-22 06:59:45 -04:00
Matthieu Haineault
bfe145854f fix(export csv): added a filter to check if item is approved 2025-08-21 16:27:17 -04:00
Matthieu Haineault
9a150715b0 refactor(leave-request): refactor to use email instead of employee ids 2025-08-21 15:00:40 -04:00
Matthieu Haineault
bdf6662374 feat(label): modified label of pay-periods 2025-08-21 10:07:04 -04:00
Matthieu Haineault
1155a58eac feat(label): modified label of pay-periods 2025-08-21 09:13:09 -04:00
Matthieu Haineault
5282406b7a feat(L-R): comments about future refactor 2025-08-21 08:16:31 -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
d44f8da99f feat(full_name): added employee full name for liste d'employés 2025-08-19 16:17:34 -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
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
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
fe87c36884 fix(supervisor): added is_supervisor column to employees, archives and mock seeds 2025-08-18 12:26:52 -04:00
Matthieu Haineault
4d2ed4714f fix(timesheet): removed magic number 2025-08-18 10:57:35 -04:00
Matthieu Haineault
30f7179fe6 feat(attachments): minor fix and try catch for attachments controller 2025-08-18 10:44:28 -04:00
Matthieu Haineault
e62b4cff1c feat(attachments): minor fix and try catch for attachments controller 2025-08-18 10:44:16 -04:00
Matthieu Haineault
2761b75f40 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH 2025-08-18 10:29:00 -04:00
Matthieu Haineault
c45284fd84 feat(attachments): attachments module with minor fixes to attachments prisma model. 2025-08-18 10:26:01 -04:00
ee90bde58c fix(employees): fix profile route to actually include email in route as param 2025-08-15 17:02: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
183a54a89a feat(employees): added funcion to get employee by email 2025-08-14 11:47:47 -04:00
Matthieu Haineault
5b1746da9d fix(prisma): minor fix 2025-08-13 15:51:46 -04:00
Matthieu Haineault
24779b67f6 fix(controller): small fix 2025-08-13 15:08:13 -04:00
Matthieu Haineault
41c5421cba feat(module): added fonction to fetch a scoped list of employee 2025-08-13 15:03:24 -04:00
Matthieu Haineault
eea4cc015a feat(module):added dto for list of employees. added job_title to employees table 2025-08-13 14:26:19 -04:00
Matthieu Haineault
90dc38154d feat(tests): setup e2e-spec files for route testing. shifts-approval, expenses-approval, timesheets-approval et pay-periods-approval 2025-08-13 10:41:25 -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
22fb29b8fa feat(pay-period): added comments to pay-periods-query.service.ts 2025-08-11 15:47:04 -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
a99f39bbf6 fix(pay-periods): added fallback for archive purposes. minor fix for findAll 2025-08-11 12:46:05 -04:00
Matthieu Haineault
242e3179f4 feat(pay-period): added a wrapper function to return 2 args, 1st is current pay-period and 2nd is all pay-periods 2025-08-11 09:45:10 -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
dc8c4d048c feat(notify): base setup for notifications module 2025-08-08 13:30:32 -04:00
Matthieu Haineault
1a0f8f8b0a feat(notify): setup notifications packages 2025-08-07 14:04:48 -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