Commit Graph

17 Commits

Author SHA1 Message Date
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
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
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
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
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
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
6d17baf6c8 fix(prisma): fix prisma calls to match 7.3.0 versions 2026-02-05 11:52:46 -05:00
Matthieu Haineault
b269062816 fix(Prisma): Fix prisma queries around the whole app to match new structure of many instance of clients/services files. added scripts to manage more than one schema at a time 2026-02-04 14:13:06 -05:00
Matthieu Haineault
8b9c2f7a86 feat(mariaDB): clean prisma MariaDB folders. re-organized it and added scripts command for easier generation and migration 2026-02-03 15:52:02 -05:00
Matthieu Haineault
d7eacd127c feat(prisma): setup for including MariaDB with the new Prisma version 7.3.0 2026-02-03 11:40:08 -05:00
Matthieu Haineault
6cbf37ed86 fix(csv): added real paid hours for csv download 2026-01-07 09:02:06 -05:00
Matthieu Haineault
e10a7da1e4 feat(csv and expenses): added employee_email to update expense and added call to holiday service to display the right amount of hour paid for holiday shifts inside csv(needs more work. see next commit) 2026-01-07 08:42:52 -05:00
Matthieu Haineault
379104147c fix(csv): added overtime calculation and requalification of regular time unto overtime when daily or weekly maxes are reached 2026-01-06 07:12:24 -05:00