Commit Graph

636 Commits

Author SHA1 Message Date
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
95786b9e37 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH 2025-10-10 09:34:54 -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
6a4fbeb2c4 refactor(leave-requests): moved utils to shared file 2025-10-09 16:48:45 -04:00
Matthieu Haineault
71d86f7fed refactor(helpers): moved helpers to a shared file 2025-10-09 16:41:34 -04:00
Matthieu Haineault
78a335a47c fix(imports): ajusted imports for new ISOstring dates methods 2025-10-09 15:49:00 -04:00
Matthieu Haineault
af8ea95cc4 fix(shifts): changed UTC comparison for ISOString 2025-10-09 15:45:57 -04:00
Matthieu Haineault
1954d206a8 fix(dates): removed dates from L-R and P-P 2025-10-09 15:23:03 -04:00
Matthieu Haineault
4527b0e7f7 fix(shifts): clean 2025-10-09 15:22:34 -04:00
0a2369d5a5 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-09 15:17:06 -04:00
5a1017f82b fix(pay-period): change payload to send regular hours and other hours, rather than each individual shift type as a property 2025-10-09 15:17:02 -04:00
Matthieu Haineault
fba3c02f48 fix(seeders): minor data fix and added Decimal to mileage 2025-10-09 10:39:17 -04:00
Matthieu Haineault
7c7edea768 feat(schedule-presets): created an apply service to auto-create shifts using presets 2025-10-09 08:40:20 -04:00
Matthieu Haineault
83792e596a feat(schedule_presets): module schedule_presets setup. Ajustments to seeders to match new realities 2025-10-08 16:45:37 -04:00
Matthieu Haineault
9b169d43c8 resolve mergre 2025-10-08 08:57:24 -04:00
Matthieu Haineault
fda95d3fc4 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-10-08 08:57:04 -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
6254410f66 fix(expense): rename import to avoid confusion 2025-10-07 16:27:30 -04:00
Matthieu Haineault
cc310e286d feat(expenses): method implementation to show a list of all expenses made by an employee using email, year and period_no 2025-10-07 13:51:35 -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
b860ea1ff5 Merge pull request 'fix(payperiod): add type to payload.' (#5) from auth-session-fullstack into main
Reviewed-on: Targo/targo_backend#5
2025-10-07 10:26:58 -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
9821b81afd fizx(archive): fix import services 2025-10-07 09:55:44 -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
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