Commit Graph

128 Commits

Author SHA1 Message Date
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
Matthieu Haineault
7b86b8c662 refactor(employee): switched phone_number type from number to string 2025-08-26 12:50:11 -04:00
Matthieu Haineault
fe32081ed9 feat(attachments): setup AdminSearchDto, CronJobs for archival and display route via controller 2025-08-25 15:46:28 -04:00
Matthieu Haineault
d58f4e392c feat(variants): setup variants of file types 2025-08-22 13:16:35 -04:00
Matthieu Haineault
f765a99273 refactor(pay-period): ajusted logics services and controller of model pay-periods 2025-08-19 14:49:47 -04:00
Matthieu Haineault
7a9adeec69 refactor(module): refactor employees, archives and pay-period to use email instead of id and switch pay-period's requests to transaction 2025-08-19 08:34:35 -04:00
Matthieu Haineault
fe87c36884 fix(supervisor): added is_supervisor column to employees, archives and mock seeds 2025-08-18 12:26:52 -04:00
Matthieu Haineault
c45284fd84 feat(attachments): attachments module with minor fixes to attachments prisma model. 2025-08-18 10:26:01 -04:00
Matthieu Haineault
014f58f78a feat(attachments): added prisma models for blobs and attachments and basic setup for stream and hash 2025-08-15 13:30:07 -04:00
Matthieu Haineault
3307f3c334 fix(seeds): added job_titles to employees and employees_archive 2025-08-13 15:34:50 -04:00
Matthieu Haineault
41c5421cba feat(module): added fonction to fetch a scoped list of employee 2025-08-13 15:03:24 -04:00
Matthieu Haineault
eea4cc015a feat(module):added dto for list of employees. added job_title to employees table 2025-08-13 14:26:19 -04:00
Matthieu Haineault
fd3b9334e3 feat(tests): setup e2e-spec files for route testing. bank_codes, customers, employees 2025-08-13 08:58:42 -04:00
Matthieu Haineault
4496c1e419 feat(mock): added mock-seeds scripts 2025-08-12 12:09:57 -04:00
Matthieu Haineault
cb6ec29992 refactor(validation): Partial modification of the file structure for validation process, added migration 20250806 2025-08-06 13:15:34 -04:00
Matthieu Haineault
5aac046356 feat(CSV): export to CSV modul fit filters 2025-08-05 09:17:39 -04:00
Matthieu Haineault
f874d2c5c6 BREAKING CHANGE(bank_codes): shift-codes table and expenses-codes table deleted and refactoring of modules calling "x-codes" to use bank-codes 2025-07-30 14:39:43 -04:00
Matthieu Haineault
f85a213561 fix(prisma): small pay-period fix 2025-07-30 13:15:46 -04:00
Matthieu Haineault
ec98adbcc3 feat(prisma): merged shift_codes and expense_codes into bank_codes 2025-07-30 12:57:54 -04:00
Matthieu Haineault
5274bf41c1 feat(archival): setup services and modules for archivation options via Cron job. small fixes to schema.prisma 2025-07-29 14:54:19 -04:00
Matthieu Haineault
2847c4cdf1 feat(cron): added schedule dependencie and base setup for CRON jobs. 2025-07-29 10:43:18 -04:00
Matthieu Haineault
44b064b87f fix(view): minor label fix for pay-period 2025-07-28 16:09:36 -04:00
Matthieu Haineault
dcf340325a fix(prisma): minor pay-period's type fixing 2025-07-28 15:02:27 -04:00
Matthieu Haineault
7cc97c9bce fix(prisma): pay-periods fix 2025-07-28 14:33:31 -04:00
Matthieu Haineault
a8679e503d fix(prisma): added precisions on DateTime format 2025-07-28 12:56:42 -04:00
Matthieu Haineault
a7cd3c088d fix(prisma): added relations between EmployeesArchive and Users. fix naming typos 2025-07-28 12:33:40 -04:00
Matthieu Haineault
4323b88379 fix(prisma): small typo 2025-07-28 12:23:03 -04:00
Matthieu Haineault
0469cf6e3c fix(prisma): small typo 2025-07-28 12:22:28 -04:00
Matthieu Haineault
f8022087d4 fix(prisma): added supervisor/employee column to Employees 2025-07-28 12:20:42 -04:00
Matthieu Haineault
4d538fc78a feat(modules): added pay-periods view module with functions to navigate and search by date 2025-07-25 15:33:39 -04:00
Matthieu Haineault
49f99a6b9c feat(module): setup for pay-period view with navigation and search options. 2025-07-25 15:31:39 -04:00
Matthieu Haineault
edddb8423d fix(import): added imports for expenses and expense-codes modules to app.module 2025-07-24 10:27:07 -04:00
Matthieu Haineault
1ee7ec9052 feat(module): expense et expense_codes modules 2025-07-24 09:55:29 -04:00
Matthieu Haineault
c8decf1026 feat(DB): added expenses and expense_codes to DB 2025-07-23 16:00:26 -04:00
Matthieu Haineault
2cebcc5df9 feat(schema): added missing model to prisma schema 2025-07-23 15:56:47 -04:00
4c55610ec4 fix(schema): change user id field to uuid instead of text, remove some unique constraints 2025-07-17 13:06:41 -04:00
3b02898c99 feat(schema): complete db schema... for now 2025-07-16 15:50:15 -04:00
Matthieu Haineault
3d6bde36ae fix(employee): minor fix for preps setup oauth 2025-07-16 14:01:26 -04:00
1e5ad2653d refactor(schema): continue redaction of prisma-postgres schema 2025-07-16 13:04:59 -04:00
b27c32782d Update prisma/READMEprisma.md
Made a bit more readable
2025-07-16 08:42:27 -04:00
Matthieu Haineault
00d845294d feat(employees): CRUD employees et refactor users unto abstract class 2025-07-15 16:26:42 -04:00
Matthieu Haineault
f9d77408f0 feat(prisma): setup prisma and route tests 2025-07-15 11:46:12 -04:00
Matthieu Haineault
e22c33b29e first commit 2025-07-15 10:41:53 -04:00