Matthieu Haineault
a6d2a3b3cd
feat(contracts): finishing touch for the contracts model
2026-03-23 14:49:42 -04:00
Matthieu Haineault
a5bd7d54fe
fix(contracts): added a contract class to employee and timesheet overview dtos and ajusted queries
2026-03-23 14:21:36 -04:00
Matthieu Haineault
c47dcb1f2f
Merge branch 'main' of git.targo.ca:Targo/targo_backend
2026-03-23 09:01:16 -04:00
Matthieu Haineault
10b51f5ae6
feat(contract): added the contact model in the schema.prisma and base setup for the contracts module. moved the columns daily_expected_hours and applicable_overtime of the employees table to the new contract table.
2026-03-23 09:01:09 -04:00
Nic D
8fdc2baf21
fix(PTO): Fix incorrect module access allowed for PTO GET Totals route
2026-03-18 15:43:12 -04:00
Nic D
9f0ce738c2
Merge branch 'main' of https://git.targo.ca/Targo/targo_backend
2026-03-18 09:24:50 -04:00
Nic D
9143d1a79e
refactor(exports): streamline and correct response from export main route, modify service logic
...
- Backend now receives a new filter structure that requires fewer conversions and transformations.
export controller's exportCsv route now follows NestJS conventions to send data buffers to frontend without requiring a decoupling of response handling
2026-03-18 09:24:46 -04:00
Matthieu Haineault
2b04c3151d
fix(csv): small fix on the shift type checking
2026-03-17 15:17:24 -04:00
Matthieu Haineault
b1069c0add
fix(holiday): fixed the valid codes for the holiday calculations
2026-03-17 14:42:17 -04:00
Matthieu Haineault
d004fa9fa2
fix(csv): added evening, emergency, holiday and vacation hours in the overtime calculations
2026-03-17 14:35:55 -04:00
Matthieu Haineault
b25558d71c
fix(bank_code): changed G56 for G140
2026-03-17 10:49:35 -04:00
Matthieu Haineault
1dd57829ec
fix(csv): minor fix
2026-03-17 08:01:15 -04:00
Matthieu Haineault
b80c424441
fix(csv): removed the hour entries when the value is 0.00
2026-03-17 07:52:18 -04:00
Matthieu Haineault
2a361cb35c
fix(csv): removed the hour entries when the value is 0.00
2026-03-17 07:52:04 -04:00
Matthieu Haineault
69abbe54b5
fix(csv): fixed a situation where phantom overtime hours were added to the csv. the problem originated from a mix between consolidated rows and the DB data.
2026-03-16 14:19:22 -04:00
Matthieu Haineault
99df3f8a15
fix(eslint): updated schema.prisma and did checks on abstract-user.service.ts typing for unsafe arguments.
2026-03-16 10:46:18 -04:00
Matthieu Haineault
fd120f9017
fix(module_access): added Modules typing to the return value of the toKeysFromBoolean function
2026-03-16 10:37:01 -04:00
Matthieu Haineault
517598fec6
fix(module_access): eslint error fix of unsafe argument. changed the query to use "omit" instead of include
2026-03-16 10:33:52 -04:00
Matthieu Haineault
c972150a8a
Merge branch 'main' of git.targo.ca:Targo/targo_backend
2026-03-16 09:53:50 -04:00
Matthieu Haineault
8c8a2a442d
Merge branch 'main' of git.targo.ca:Targo/targo_backend
2026-03-16 09:53:37 -04:00
Nic D
20cefb66fe
fix(timesheets): fix issue with expense amounts not tabulated properly
2026-03-16 09:52:18 -04:00
Matthieu Haineault
8949b8a4fa
feat(userModuleAccess): added ticket, ticket_management and chatbot to the employee services and module-access services
2026-03-16 09:11:30 -04:00
Matthieu Haineault
043e517a83
feat(prisma): npm prisma:generated files, to match new version of the schema
2026-03-16 08:33:19 -04:00
Matthieu Haineault
3624489c02
fix(csv): removed the expense entry of 0.00 when the row is of type hours
2026-03-16 07:58:42 -04:00
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