Matthieu Haineault
f1d67aad8e
Merge branch 'main' of git.targo.ca:Targo/targo_backend
2026-03-16 07:40:31 -04:00
Matthieu Haineault
e178c7bd10
feat(schema): added columns and enum for overtime management. Also added the respective columns in the DB itself. Also added ticket and ticket_management in user_module_access in the db/schema
2026-03-16 07:40:25 -04:00
Nic D
4979f82e6f
Merge branch 'main' of https://git.targo.ca/Targo/targo_backend
2026-03-13 15:21:12 -04:00
Nic D
5f4fb3594a
fix(pay-period, timesheet): fix issue where overtime wasn't calculated properly.
...
Also fix issue where employee overviews would sometimes falsely return as approved if employee had no timesheets created yet. This is due to Array.prototype.every returning true on an empty array.
2026-03-13 15:21:04 -04:00
Matthieu Haineault
d2c7f262a4
fix(csv): removed the cumulation of sick days into a single row.
2026-03-13 14:52:01 -04:00
Matthieu Haineault
4b8f1e0f77
fix(CSV): fix the overtime calculation to ensures that daily overtime is not added on top of the weekly overtime.
2026-03-13 12:56:17 -04:00
Nic D.
aa68b5384b
fix(expense): fix issue where timesheet id is not updated properly when expense changes week on update.
2026-03-11 16:42:18 -04:00
Nic D.
daf35d0e40
fix(pay-periods): fix error where mileage was not being returned correctly for overviews
2026-03-11 12:51:34 -04:00
Nic D
91fe8843b3
fix(expense): Fix issue where expenses were not properly calculating amount
...
Also add better permission handling when creating shifts or expenses for other users through timesheet-approval module
2026-03-10 16:44:08 -04:00
Nic D
6df3aa944d
fix(pay-period): Fix issue where overviews would sometimes return approval false
...
Overviews would be flagged as not approved if there were no shifts nor expenses on the timesheets, but it needs to be approved not just for accounting purposes, but to lock the timesheets from retroactive modifications as well.
2026-03-09 09:28:22 -04:00
Matthieu Haineault
9efe1aded7
fix(ticket-list): added an order by reflecting the business needs
2026-03-02 13:07:11 -05:00
Matthieu Haineault
f43d3ade19
feat(ticket-list): added a route to fetch all tickets, filtered in a precis order
2026-03-02 12:29:01 -05:00
Matthieu Haineault
d14924783d
Merge branch 'dev/matthieu/tickets' of git.targo.ca:Targo/targo_backend
2026-02-27 13:41:51 -05:00
Matthieu Haineault
1517b7e32c
Merge branch 'dev/matthieu/tickets' of git.targo.ca:Targo/targo_backend
2026-02-27 13:41:33 -05:00
Matthieu Haineault
1f27baf100
fix(presets): small fix to schedule preset apply service
2026-02-27 13:39:16 -05:00
9ca773e47b
Merge pull request 'dev/matthieu/tickets' ( #15 ) from dev/matthieu/tickets into main
...
Reviewed-on: Targo/targo_backend#15
2026-02-27 13:22:44 -05:00
Matthieu Haineault
c427cc7718
reafactor(EsLint): Eslint corrections
2026-02-27 13:19:38 -05:00
Matthieu Haineault
368c5b1a2a
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets
2026-02-27 10:13:19 -05:00
Matthieu Haineault
aa72651a67
refactor(EsLint): EsLint corrections
2026-02-27 10:09:24 -05:00
Matthieu Haineault
37a4da7923
feat(tickets): ajusted the query to return the correct Date format and ajusted the api call string to use query instead of param args
2026-02-26 15:08:15 -05:00
Nic D
6193ca9c15
Merge branch 'main' of https://git.targo.ca/Targo/targo_backend
2026-02-25 14:08:55 -05:00
Nic D
64f289a98d
fix(chatbot): reverted testing changes, made error messages more explicit
2026-02-25 14:08:43 -05:00
d761e81c7b
added restart stack api request to force update to staging app
2026-02-25 13:16:27 -05:00
7684b6ba2f
fix issue with version number
2026-02-25 13:08:32 -05:00
f540c47351
fixed wrong package naming in runner's script
2026-02-25 13:00:29 -05:00
121f962867
temporary fix for lint test
2026-02-25 12:51:05 -05:00
ad6e78b719
Modified Dockerfile for runner
2026-02-25 12:48:30 -05:00
428f2a95a6
added runner script
2026-02-25 12:47:03 -05:00
Nic D
c75bbb445e
feat(notifications): add notifications to schema
2026-02-25 11:05:55 -05:00
Nic D
043bc91a56
refactor(chatbot): better handling of potential errors
2026-02-24 11:04:54 -05:00
Nic D
b7cf7d7208
fix(expense): allow creation of expense with optionally-provided employee email
2026-02-24 08:31:24 -05:00
Matthieu Haineault
f3753ec53e
feat(tickets): implemented a function to GET the list of tickets according to sorting and filter args
2026-02-23 15:27:30 -05:00
Nic D
2936b84b47
fix(paid-time-off): add expected daily hours to timesheet output.
2026-02-23 14:36:12 -05:00
Matthieu Haineault
a32d636b6e
feat(tickets): added a service function to get tickets according to email or session email and ticket status
2026-02-20 05:29:22 -05:00
40fa274571
added tickets module server in Cors
2026-02-19 09:45:25 -05:00
Matthieu Haineault
a5fc7b1de9
feat(ticket): added a route to get tickets using the email of the assigned employee or the ticket status
2026-02-19 08:18:43 -05:00
Nic D
c712e0f5db
fix(exports): fix issue where bank code was not being properly verified, adjust sorting of results
2026-02-18 11:59:27 -05:00
Matthieu Haineault
6207784d57
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets
2026-02-18 08:58:00 -05:00
Matthieu Haineault
455a57fef6
Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/tickets
2026-02-18 08:57:48 -05:00
Nic D
aa6109ff09
fix(shifts): fix issue where end time for paid time off shifts was not being calculated correctly.
2026-02-17 15:23:56 -05:00
Matthieu Haineault
ef969d3c42
fix(CSV): fix csv structure to match Desjardins
2026-02-16 09:36:13 -05:00
Nic D
a9637a93a6
BREAKING(csv-report): Trim shift and expense retrieval, up to calculateOvertime portion, logic requires rework
2026-02-13 16:05:59 -05:00
Matthieu Haineault
df390b41b6
fix(csv): started to fix csv structure to match desjardins needs
2026-02-12 15:14:44 -05:00
Matthieu Haineault
502f92188d
feat(tickets): a few more basic setup to match frontend needs
2026-02-11 14:02:34 -05:00
Matthieu Haineault
dccb249b15
feat(Tickets): created helpers for boolean manipulations and basic setup for ticketing module
2026-02-11 08:45:26 -05:00
Matthieu Haineault
3f248a212d
feat(modules): basic setup for controllers, services and modules of the customer-support module
2026-02-10 08:35:50 -05:00
Matthieu Haineault
ee6337758e
feat(DTO): dto implementations for the ticket module
2026-02-10 08:14:44 -05:00
Matthieu Haineault
c3698d4a36
fix(imports): switched deprecated imports for new version of Prisma
2026-02-06 15:27:37 -05:00
Matthieu Haineault
6a6a3187be
fix(imports): fixed deprecated imports
2026-02-06 15:22:19 -05:00
Matthieu Haineault
1da818d843
fix(dockerfile): modified Prisma Client generate command line to match prisma 7.3.0 with multiple databases
2026-02-06 15:12:11 -05:00