Commit Graph

533 Commits

Author SHA1 Message Date
791b3aacb9 feat(employees): add paid time off to properties sent to employee list queries (some partial, full when editing) 2026-01-09 11:39:30 -05:00
Matthieu Haineault
c03ea4cb6f Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-09 08:00:14 -05:00
Matthieu Haineault
70575e1772 feat(banking_hours): added a function to add or take banked_hours 2026-01-09 08:00:08 -05:00
c43d7649ca feat(approvals): add functionality to return weekly hours breakdown 2026-01-09 07:44:15 -05:00
Matthieu Haineault
41efccac17 fix(migration): commented migration scripts 2026-01-08 14:20:05 -05:00
Matthieu Haineault
5b778943a1 feat(paid_time-off): worked on vacation service, implemented vacation business logic inside shifts creation and did a migration 2026-01-08 12:13:14 -05:00
Matthieu Haineault
bae8a037f7 fix(business-logics): small ajustments 2026-01-07 15:46:29 -05:00
Matthieu Haineault
4646b2f445 feat(employees): added daily_expected_hours to returns to display and manage daily expected hours by employees using the app 2026-01-07 09:39:10 -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
6dae8df0d3 fix(url): switch redirect to right url for staging container 2026-01-06 10:04:52 -05:00
Matthieu Haineault
2a6f9eb2ac fix(url): switch redirect to right url for staging container 2026-01-06 09:46:19 -05:00
Matthieu Haineault
9e8fd84334 fix(scripts): commented legacy-prisma scripts 2026-01-06 09:30:01 -05:00
Matthieu Haineault
0791f124a0 feat(schema): migration of the new table paid_time_off and added a column to employee table = daily_expected_hours 2026-01-06 09:13:36 -05:00
e3006b9b82 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2026-01-06 07:34:42 -05:00
53ec64ba1e refactor(sick-leave): remake methods to calculate and update sick leave available 2026-01-06 07:34:26 -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
124a80f9bf fixed mispelled URLs 2026-01-05 09:36:57 -05:00
3554f2e901 added app.targo.ca and staging.app.targo.ca to the allowed frontend URLs 2026-01-05 09:07:47 -05:00
17f06e7867 refactor(timesheet): add boolean property to indicate if user has schedule preset or not, used to display set preset buttons on timesheet. 2026-01-02 17:27:29 -05:00
74fe9fc945 debug(module-access): improve error logging to figure out why access module guard is firing 403 errors. 2025-12-29 15:07:30 -05:00
3519d37a10 Updated with variable fix 2025-12-29 11:27:03 -05:00
6beafc782e add quasar install into dockerfile 2025-12-29 10:31:44 -05:00
38cbc326a5 Remove test comment 2025-12-29 09:08:00 -05:00
5f8e8e7b2c test 3 pour le git pull 2025-12-29 09:04:27 -05:00
3feaf2f1c1 test 2 pour le git pull 2025-12-29 08:59:49 -05:00
6f9ba599a0 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-12-29 08:57:11 -05:00
7eb1471edb fix(pay-periods): specify that is_approved can be null in controller, to not confuse false with null 2025-12-29 08:56:22 -05:00
03e42ce8d7 test pour le git pull 2025-12-29 08:42:12 -05:00
Nic D.
6adbcad352 ???(???): holiday work, forget what it was. Probably related to timesheet approval and its filters 2025-12-29 06:53:16 -05:00
Matthieu Haineault
d613d97a1a fix(pay-period): small fix to query 2025-12-23 14:22:28 -05:00
Matthieu Haineault
264ee101bf refactor(pay-period): refactor buildOverview and cleaned service/controller 2025-12-23 14:17:37 -05:00
Matthieu Haineault
15d7821314 fix(pay-period): removed is_remote from payload and added dynamic returns of timesheet.is_approved 2025-12-23 07:18:01 -05:00
da74a93fa0 console.log 2025-12-22 14:10:26 -05:00
58baaade5d refactor(pay-periods): refactored bulkApprove for crew to instead toggle approval of all shifts and expenses of a given employee 2025-12-22 14:09:35 -05:00
Matthieu Haineault
ad49a2265a feat(shifts): added a new route to enable shift creation/modification/deleting using the timesheets_approval page 2025-12-22 11:12:14 -05:00
Matthieu Haineault
ed7e013a71 clean(logs): removed debugging logs 2025-12-19 16:46:19 -05:00
Matthieu Haineault
447d968f59 feat(pay-period): added is_active to payload to filter inactive employee from the timesheets_approval page 2025-12-19 16:25:39 -05:00
Matthieu Haineault
c0d00d0ca9 feat(pay-period): added is_active to payload to filter inactive employee from the timesheets_approval page 2025-12-19 16:16:35 -05:00
Matthieu Haineault
52c2e5f70c Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-12-19 15:46:14 -05:00
Matthieu Haineault
581a4252cd fix(display): fix the display of amount, mileage and hours to use only 2 decimals and no more 2025-12-19 15:46:10 -05:00
072855f34d Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-12-19 15:39:24 -05:00
d9d9de759f fix(auth): fix /me route to properly send user data, now also includes module accesses for user. 2025-12-19 15:39:18 -05:00
Matthieu Haineault
681779345e fix(access): access troubleshooting 2025-12-19 12:43:11 -05:00
Matthieu Haineault
027dd48efb fix(module-access): fix module access for none-admin users 2025-12-19 12:23:55 -05:00
Matthieu Haineault
40fe965a6d fix(redirect): fix url redirect 2025-12-19 10:16:30 -05:00
Matthieu Haineault
a40af6a4d0 fix():small fix to redirect 2025-12-19 10:11:29 -05:00
Matthieu Haineault
62bad94343 feat(redirect_url): moved redirect url to .env file 2025-12-19 10:00:50 -05:00
Matthieu Haineault
3a0dc4c1ce feat(troubleshooting): roll-back du dernier commit et clean de debugg comments 2025-12-19 09:54:51 -05:00