Commit Graph

646 Commits

Author SHA1 Message Date
Matthieu Haineault
a88aaf34f0 fix(shifts): modified ensureTimesheet 2025-10-14 11:59:26 -04:00
Matthieu Haineault
5ec131c863 fix(shfits):small fix 2025-10-14 11:16:08 -04:00
Matthieu Haineault
1fe2c1291c fix(shift): changed default value of is_approved in asLocalDateOn 2025-10-14 11:14:43 -04:00
Matthieu Haineault
8ad8076f4d fix(shifts): fix bank_code_id by type 2025-10-14 10:58:43 -04:00
Matthieu Haineault
feeb19bbf0 fix(shfits): small route fix 2025-10-14 10:38:24 -04:00
Matthieu Haineault
99e9f1f3bf feat(shifts): extract delete logics outside of master upsert method and create a new route for delete requests 2025-10-14 10:35:30 -04:00
Matthieu Haineault
d95b6471cd fix(shifts): modified controller to accept a query action. clean up module 2025-10-14 10:04:48 -04:00
Matthieu Haineault
5292f1af11 feat(preferences): added display options to preferences table 2025-10-14 09:33:29 -04:00
Matthieu Haineault
2f0982c952 refactor(shifts): modified shifts.utils to use ISO format instead of UTC 2025-10-10 17:01:05 -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
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