Commit Graph

17 Commits

Author SHA1 Message Date
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
d004fa9fa2 fix(csv): added evening, emergency, holiday and vacation hours in the overtime calculations 2026-03-17 14:35:55 -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
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
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
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
70aefdab73 fix(migration): fix some migration problems from legacy db 2026-01-06 15:04:41 -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