Gestion du changement de type de contrat + correction du calcule des RTT sur un contrat qui commence en milieu de semaine #19

Merged
tristan merged 55 commits from feat/contract-phase-view-selector into develop 2026-05-22 06:42:33 +00:00
2 changed files with 15 additions and 0 deletions
Showing only changes of commit 5fc9dd1ec9 - Show all commits

View File

@@ -0,0 +1,13 @@
import type { ContractType } from './contract'
export type ContractPhase = {
id: number
contractType: ContractType
weeklyHours: number | null
isDriver: boolean
startDate: string
endDate: string | null
periodIds: number[]
isCurrent: boolean
contractNature: 'CDI' | 'CDD' | 'INTERIM'
}

View File

@@ -1,5 +1,6 @@
import type { Site } from './site'
import type { Contract } from './contract'
import type { ContractPhase } from './contract-phase'
export type ContractSuspension = {
id: number
@@ -41,4 +42,5 @@ export type Employee = {
currentSuspensions?: ContractSuspension[]
currentInterimAgencyId?: number | null
currentInterimAgencyName?: string | null
contractPhases?: ContractPhase[]
}