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
|
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 |
|
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 |
|
|
|
e67ed22bad
|
fix(presets): fix minor issue with adding a daily preset
|
2025-12-17 13:28:14 -05:00 |
|
Matthieu Haineault
|
4f0f5ae30f
|
feat(presets): added a route to apply a preset to a single day
|
2025-12-17 11:28:35 -05:00 |
|
|
|
21dfe60548
|
fix(timesheet): minor fix to apply preset logic, less iteration
|
2025-12-17 10:50:49 -05:00 |
|
|
|
049571c08d
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-12-15 09:02:13 -05:00 |
|
|
|
0c77df41c6
|
fix(pay-period): minor fix to pay period handling, was returning pay-year of date from request rather than pay-year from pay period in db
|
2025-12-15 09:01:37 -05:00 |
|
Matthieu Haineault
|
3c773df376
|
fix(module_access): fix module access validation
|
2025-12-15 09:00:27 -05:00 |
|
Matthieu Haineault
|
b01506f013
|
fix(schedule_preset): added a param to orderBy to sort shifts by start_date as well as week_day
|
2025-12-12 14:53:56 -05:00 |
|
Matthieu Haineault
|
6f3acde71b
|
fix(preset): added order by start_time
|
2025-12-12 14:31:01 -05:00 |
|
Matthieu Haineault
|
9a8dcbccc3
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-12-12 13:35:39 -05:00 |
|
Matthieu Haineault
|
762677b7b1
|
clean(comments): removed debugg comments
|
2025-12-12 13:35:36 -05:00 |
|
|
|
01e407f803
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-12-12 13:33:31 -05:00 |
|
|
|
93b974c160
|
fix(presets): simplify process of updating employee profiles with deleted preset.
Also removed superfluous prints that are no longer required in certain modules (testing)
|
2025-12-12 13:33:27 -05:00 |
|
Matthieu Haineault
|
f9a247d9f1
|
feat(csv): ajusted csv logics and minor fixes to employees
|
2025-12-12 13:26:09 -05:00 |
|
Matthieu Haineault
|
157a7908be
|
refactor(csv): ajusted extract logics
|
2025-12-12 08:25:31 -05:00 |
|
Matthieu Haineault
|
be957d8180
|
fix(schedule_preset) : added a check to remove preset_id for employees using the newly deleted preset
|
2025-12-11 12:02:34 -05:00 |
|
Matthieu Haineault
|
acc128e5ea
|
fix(presets): removed name from where clause to find the preset
|
2025-12-11 10:11:33 -05:00 |
|
Nic D.
|
cb52089db8
|
fix(schedule-preset): adjust services to use consistent dto and field names (mix of shifts and preset_shifts)
|
2025-12-10 16:51:38 -05:00 |
|
Matthieu Haineault
|
b6132c8b35
|
feat(schedule-presets): added a service that applies a preset to an existing timesheet. did some cleaning in utils and dtos
|
2025-12-09 13:02:10 -05:00 |
|
Matthieu Haineault
|
a5917cbe9d
|
clean(modules): modules file cleaning
|
2025-12-04 17:01:28 -05:00 |
|
Matthieu Haineault
|
e4447a138c
|
fix(modules): file imports fixes
|
2025-12-04 15:02:54 -05:00 |
|
Matthieu Haineault
|
d81186ba2b
|
clean(modules): modules file cleaning
|
2025-12-04 15:00:36 -05:00 |
|
Matthieu Haineault
|
13962a8496
|
clean(modules): modules file cleaning
|
2025-12-04 14:50:23 -05:00 |
|
Matthieu Haineault
|
9b4517a26d
|
clean(shifts): did some cleaning
|
2025-12-04 11:05:38 -05:00 |
|
Matthieu Haineault
|
4c933d3564
|
fix(shifts): small return fixes
|
2025-12-04 10:46:48 -05:00 |
|
Matthieu Haineault
|
245d671f0b
|
fix(shifts): small return fixes
|
2025-12-04 10:45:47 -05:00 |
|
Matthieu Haineault
|
d913f59eb5
|
refactor(schedules_employees): refactor schema relations between employees and presets
|
2025-12-04 10:42:54 -05:00 |
|
Matthieu Haineault
|
fb0187c117
|
feat(employees): ajusted employees module, added an update method and route
|
2025-12-02 12:57:49 -05:00 |
|
Matthieu Haineault
|
ebc1cd77d8
|
refactor(controllers): added ModuleAccessAllowed and Access decorators
|
2025-12-01 16:03:48 -05:00 |
|
|
|
e7213c62ed
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-27 08:40:47 -05:00 |
|
|
|
5a28630c21
|
refactor(employees): added functionality to take an optional employee email to retrieve profile data
|
2025-11-27 08:40:41 -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
|
c5c96cce22
|
feat(schedulePresets): ajusted the create function. added validation of the name and overlaps checking
|
2025-11-25 16:32:20 -05:00 |
|
Matthieu Haineault
|
cdf7dac6a3
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-24 14:59:24 -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 |
|
|
|
fc323a393b
|
merge
|
2025-11-24 09:14:06 -05:00 |
|
|
|
6d1ac6c634
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-24 09:12:55 -05:00 |
|
|
|
7912695b8f
|
fix(payperiods): refactor general overview method to return all employee overviews.
|
2025-11-24 09:02:31 -05:00 |
|
Matthieu Haineault
|
ddb6fa2ada
|
feat(pay_periods): added Result Pattern to pay-period module
|
2025-11-19 10:41:49 -05:00 |
|
Matthieu Haineault
|
48f1220a4e
|
clean(modules): cleaned unused dto files and added validation. Changed error messages to match i18n
|
2025-11-18 14:55:42 -05:00 |
|
Matthieu Haineault
|
3ceb2e0955
|
refactor(presets): refactor module to use Result Pattern commented to work on plugging error names
|
2025-11-18 13:49:18 -05:00 |
|
Matthieu Haineault
|
5bfeaaf4de
|
fix(expenses): small fix update
|
2025-11-18 08:56:40 -05:00 |
|
Matthieu Haineault
|
2958403f08
|
fix(expenses): fix date update and make sure the timesheet_id is updated when the date changes week
|
2025-11-18 08:46:39 -05:00 |
|
Matthieu Haineault
|
194a12d7ab
|
fix(expenses): fix Prisma query select
|
2025-11-18 08:24:51 -05:00 |
|
Matthieu Haineault
|
7863a15562
|
fix(expenses): fixes to prisma create request
|
2025-11-17 16:04:36 -05:00 |
|
Matthieu Haineault
|
fc88b3a032
|
fix(expenses): fixes to prisma create request
|
2025-11-17 15:45:49 -05:00 |
|
Matthieu Haineault
|
db78c70eb0
|
fix(expenses): fixes to dto
|
2025-11-17 15:43:18 -05:00 |
|
Matthieu Haineault
|
6e52bdb4e4
|
fix(expenses): fixes to dto
|
2025-11-17 15:27:46 -05:00 |
|
Matthieu Haineault
|
e43cb489cf
|
fix(typing): removed validation on ExpenseDto
|
2025-11-17 15:05:32 -05:00 |
|
Matthieu Haineault
|
99cb5da69d
|
fix(imports): small import fix
|
2025-11-17 14:55:12 -05:00 |
|
Matthieu Haineault
|
7fbcc29b8a
|
fix(expenses): ajusted return values (added type)
|
2025-11-17 14:54:10 -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 |
|
Matthieu Haineault
|
1589df979f
|
clean(): file cleaning
|
2025-11-14 09:35:05 -05:00 |
|
Matthieu Haineault
|
8df3becbb5
|
clean(modules): clean module imports and clean utils files
|
2025-11-13 15:30:29 -05:00 |
|
Matthieu Haineault
|
30cc41955b
|
fix():fix merge
|
2025-11-13 13:54:01 -05:00 |
|
Matthieu Haineault
|
e72b63116c
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-13 13:53:32 -05:00 |
|
Matthieu Haineault
|
214d6aa370
|
fix(shifts): small error typing fix
|
2025-11-13 13:52:48 -05:00 |
|
|
|
37b150d87c
|
fix(shifts): fix minor issue with using UTC instead of local time to get timesheet id
|
2025-11-13 12:17:00 -05:00 |
|
Matthieu Haineault
|
6aa464a76e
|
fix(shifts): fix overlap shifts
|
2025-11-13 11:05:13 -05:00 |
|
Matthieu Haineault
|
7e95e8dae3
|
fix(shifts): minor overlap fix
|
2025-11-13 10:31:50 -05:00 |
|
Matthieu Haineault
|
b513f02fe5
|
fix(time and attendances): fix imports
|
2025-11-13 09:55:34 -05:00 |
|
Matthieu Haineault
|
0764eebc98
|
fix(shifts): fix overlap checks for updating shifts
|
2025-11-13 09:53:48 -05:00 |
|
Matthieu Haineault
|
2003b5357d
|
fix(timesheets): typing fix
|
2025-11-13 08:20:01 -05:00 |
|
Matthieu Haineault
|
96490563c6
|
fix(timesheets): small query fix
|
2025-11-12 14:17:29 -05:00 |
|
Matthieu Haineault
|
14c00522db
|
fix(timesheets): ajusted type of function mapOneTimesheet
|
2025-11-12 14:13:04 -05:00 |
|
Matthieu Haineault
|
c59844560a
|
fix(imports): minor fix of imports
|
2025-11-12 13:35:03 -05:00 |
|
Matthieu Haineault
|
e067e15bb1
|
fix(timesheets): added type to expense in return
|
2025-11-12 13:30:51 -05:00 |
|
Matthieu Haineault
|
73a2a755e4
|
fix(timesheets): fix id.data
|
2025-11-12 10:31:25 -05:00 |
|
Matthieu Haineault
|
40072af4a6
|
fix(timesheets): changed function calls from query to body
|
2025-11-12 09:40:01 -05:00 |
|
Matthieu Haineault
|
1d9eaeab30
|
feat(Result): ajusted return values to match Result pattern.
|
2025-11-12 09:16:37 -05:00 |
|
Matthieu Haineault
|
a8d53ab0aa
|
fix(shifts): added Promise to remove function of the shift controller
|
2025-11-11 14:52:34 -05:00 |
|
Matthieu Haineault
|
383a01639a
|
feat(Result): added the result pattern to handle errors at any level. Ajusted modules
|
2025-11-11 14:51:50 -05:00 |
|
Matthieu Haineault
|
6332a42fa7
|
feat(presets): small ajustements
|
2025-11-10 11:16:10 -05:00 |
|
Matthieu Haineault
|
03d9fa2cf4
|
clean(schedule-presets): clean module of unused imports
|
2025-11-07 16:49:16 -05:00 |
|
Matthieu Haineault
|
8dca65d00e
|
refactor(expenses): ajusted the controller and service to match new session set-up and did some cleaning
|
2025-11-07 13:09:32 -05:00 |
|
Matthieu Haineault
|
eb166dbc46
|
clean(shifts): clean module of unused features
|
2025-11-06 16:45:00 -05:00 |
|
Matthieu Haineault
|
efc06b8857
|
fix(shifts): removed unused overtime calculation and return from create or update shifts
|
2025-11-06 14:45:16 -05:00 |
|
Matthieu Haineault
|
7817c3b758
|
fix(shifts): fix the type update
|
2025-11-06 14:42:39 -05:00 |
|
Matthieu Haineault
|
e34658fc41
|
fix(shifts): ajusted return
|
2025-11-06 12:47:36 -05:00 |
|
Matthieu Haineault
|
4e48d98c0f
|
fix(shifts): commented unused service function
|
2025-11-06 11:10:25 -05:00 |
|
Matthieu Haineault
|
c0189dc61d
|
fix(shifts): rework update and create to match ShiftEntity
|
2025-11-06 11:04:55 -05:00 |
|
|
|
032e1de631
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-05 14:34:30 -05:00 |
|
|
|
88d4f2fe27
|
fix(shift): fix minor issue with naming property (changed to shift_id from id)
|
2025-11-05 14:31:31 -05:00 |
|
Matthieu Haineault
|
1a0532846f
|
feat(role-guards): added role-guards group and added role check to controllers
|
2025-11-05 14:27:54 -05:00 |
|
Matthieu Haineault
|
be00798961
|
refactor(shifts): change structure of error management returns
|
2025-11-05 08:26:45 -05:00 |
|
Matthieu Haineault
|
407f04ac0b
|
fix(shifts): fix a problem with overlaps
|
2025-11-04 16:42:14 -05:00 |
|
Matthieu Haineault
|
95f369fcbc
|
refactor(shifts): changed to conflictException build for error management for the create function
|
2025-11-04 15:59:03 -05:00 |
|
Matthieu Haineault
|
eda1f86235
|
refactor(shifts): added date to overlap comparisons
|
2025-11-04 15:15:04 -05:00 |
|
Matthieu Haineault
|
0a3d4e2960
|
fix(shifts): changed date format to UTC
|
2025-11-04 14:50:07 -05:00 |
|
Matthieu Haineault
|
457757a066
|
clean(shifts): cleaning
|
2025-11-04 09:55:22 -05:00 |
|
Matthieu Haineault
|
c2203f77cb
|
fix(shifts): fix overlaping logic
|
2025-11-04 09:41:46 -05:00 |
|
Matthieu Haineault
|
3741bf3b26
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-04 08:31:40 -05:00 |
|
Matthieu Haineault
|
6adb614931
|
refactor(shifts): modified return and switched bank_code_id for types
|
2025-11-04 08:31:38 -05:00 |
|
|
|
fef9ea0b74
|
Merge branch 'main' of git.targo.ca:Targo/targo_backend
|
2025-11-03 15:43:58 -05:00 |
|