Commit Graph

92 Commits

Author SHA1 Message Date
Matthieu Haineault
50ecd12aa8 feat(migration): autoincrement to external payroll ids 2025-12-01 11:30:06 -05:00
Matthieu Haineault
98180dd16b refactor(employees): adapted logics to match new userModuleAccess and cleaned module of unused methods 2025-12-01 11:28:42 -05:00
Matthieu Haineault
b714a460f0 feat(migration): reset DB to match new schema 2025-11-27 12:24:47 -05:00
Matthieu Haineault
eeaf8daf4a fix(schema): small fix to userModuleAccess model 2025-11-27 09:28:11 -05:00
Matthieu Haineault
7c9f3cda65 feat(preferences): small update on prefrences table 2025-11-26 16:32:56 -05:00
Matthieu Haineault
5f7f639c62 feat(preferences): added a getter function and modified schema to use boolean 2025-11-26 15:31:50 -05:00
Matthieu Haineault
26ea84cf1a feat(user_module_access): created user_module_access model and module. implemented update, revoke and get methods. 2025-11-26 15:05:22 -05:00
Matthieu Haineault
5452641f19 feat(migration): added a split prismaModule to manage legacy DB, created scripts to fetch old data, transform to match the new structure and creates new items in the new DB 2025-11-24 14:59:16 -05:00
Matthieu Haineault
6936ac39fa refactor(leave-requests): refactor the logic of the module leave-requests and modified naming in timesheet GET function 2025-11-17 14:13:38 -05:00
750dd95071 Merge branch 'main' of git.targo.ca:Targo/targo_backend 2025-11-11 12:56:16 -05:00
c8e3f66cf0 feat: updated prisma schema and npm packages. 2025-11-11 12:56:02 -05:00
Matthieu Haineault
68f29b8842 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-30 15:05:20 -04:00
Matthieu Haineault
ac1eaabb5d fix(schema): remove commented lines 2025-10-27 10:20:56 -04:00
Matthieu Haineault
3ae1085e95 fix(schema): temporary comment on some schema lines to prep for removing employees/customer from this module 2025-10-27 10:17:11 -04:00
Matthieu Haineault
2712033451 refactor(cleaning): preparing other modules for refactoring 2025-10-24 16:47:30 -04:00
Matthieu Haineault
1289aed720 reafactor(time-and-attendance): organized files and folders and centralize module files 2025-10-24 16:38:18 -04:00
Matthieu Haineault
062b9b4640 refactor(expenses): major refactor of the CRUDs methods sing sessions data 2025-10-24 16:15:54 -04:00
Matthieu Haineault
fad4f6f3d6 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-20 08:54:45 -04:00
Matthieu Haineault
e1b63bd61a clean(none): clean slate , removed useless code lines 2025-10-15 16:36:05 -04:00
Matthieu Haineault
0ea3f51974 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/matthieu/refactor 2025-10-14 16:44:03 -04:00
Matthieu Haineault
77e10c67c7 fix(seeders): ajusted shifts and expenses seeders 2025-10-14 13:28:42 -04:00
Matthieu Haineault
d1c41ea1bd fix(seeders): fix holiday bank_code and week_start logics to match Sunday to Saturday 2025-10-14 12:25:09 -04:00
Matthieu Haineault
5292f1af11 feat(preferences): added display options to preferences table 2025-10-14 09:33:29 -04:00
Matthieu Haineault
95786b9e37 Merge branch 'main' of git.targo.ca:Targo/targo_backend into dev/setup/attachment/MatthieuH 2025-10-10 09:34:54 -04:00
Matthieu Haineault
9efdafb20f refactor(preferences & modules): changed type from boolean to Int so each preferences can have more than 2 options.
Also cleaned-up module imports/providers
2025-10-10 09:27:57 -04:00
Matthieu Haineault
4527b0e7f7 fix(shifts): clean 2025-10-09 15:22:34 -04:00
Matthieu Haineault
fba3c02f48 fix(seeders): minor data fix and added Decimal to mileage 2025-10-09 10:39:17 -04:00
Matthieu Haineault
83792e596a feat(schedule_presets): module schedule_presets setup. Ajustments to seeders to match new realities 2025-10-08 16:45:37 -04:00
Matthieu Haineault
d8bc05f6e2 feat(preferences): setup for prefrences module which allows a user to manage dark mode, notifications, lefty mode for phone user and a lang switch (en, fr) 2025-10-03 14:03:09 -04:00
Matthieu Haineault
3984540edb fix(leaves and expenses): import name fixes 2025-10-03 10:22:27 -04:00
Matthieu Haineault
d36d2f922b feat(leave-request): added holiday shift's creation and CRUD for holiday leave-requests. 2025-10-03 09:37:42 -04:00
Matthieu Haineault
77f065f37f feat(expense): link expense with attachment. 2025-10-01 16:35:40 -04:00
Matthieu Haineault
3b4dd9ddb5 fix(mock): small typo in mock datas 2025-09-30 11:12:46 -04:00
Matthieu Haineault
52114deb33 feat(expenses): upsert function for expenses 2025-09-30 10:43:48 -04:00
Matthieu Haineault
4a6eed1185 feat(migration): migration of comment/description change 2025-09-09 09:27:14 -04:00
Matthieu Haineault
6e1f5ce9a2 refactor(shifts_expenses): refactor description to comment to match frontend 2025-09-09 09:24:54 -04:00
Matthieu Haineault
557aed645d fix(DB): DB migration 2025-09-08 15:26:12 -04:00
Matthieu Haineault
954411d995 refactor(shifts): added is_remote to track work from home shifts 2025-09-08 15:25:09 -04:00
Matthieu Haineault
a73ed4b620 refactor(seeders): added complexity to shifts and expenses seeders 2025-09-08 09:43:46 -04:00
Matthieu Haineault
5063c1dfec fix(seeder): fix bank_codes for expenses seeder 2025-09-02 15:16:03 -04:00
Matthieu Haineault
c52de6ecb8 fix(seeds): fix timesheet seeds 2025-08-29 11:44:04 -04:00
Matthieu Haineault
770ed8cf64 fix(seeds): many fixes to match data needed to print 2025-08-29 09:57:12 -04:00
Matthieu Haineault
3fad532685 fix(seeds): small typo to seed employees 2025-08-29 09:36:13 -04:00
Matthieu Haineault
4bb42ec3ed fix(seeds): added larger scope of data to print 2025-08-29 09:34:30 -04:00
Matthieu Haineault
0516736fa2 refactor(timesheet): added shift types and expenses type data 2025-08-29 08:28:47 -04:00
Matthieu Haineault
ea76435f4f fix(seeder): fix seeders 2025-08-28 14:43:23 -04:00
Matthieu Haineault
213b68fb7d Merge branch 'dev/setup/modules/MatthieuH' of git.targo.ca:Targo/targo_backend 2025-08-28 14:03:52 -04:00
Matthieu Haineault
9085e71f0c fix(seeds): ajusted seeds for shifts and expenses 2025-08-28 14:03:31 -04:00
Matthieu Haineault
994e02ba7f refactor(timesheets): refactored findAll to return more data 2025-08-28 10:22:19 -04:00
Matthieu Haineault
cb30d0142e feat(migration): phone_number prisma migration 2025-08-26 12:58:02 -04:00