fix: Ajouter champs manquants au type Amendment
- employee_matricule - production_name - numero_avenant - date_avenant - type_avenant - motif_avenant Corrige l'erreur de build Vercel.
This commit is contained in:
parent
da17ca6ef2
commit
69cb2c5a0a
1 changed files with 7 additions and 1 deletions
|
|
@ -54,14 +54,20 @@ export interface AmendmentRemunerationData {
|
||||||
// Structure complète d'un avenant
|
// Structure complète d'un avenant
|
||||||
export interface Amendment {
|
export interface Amendment {
|
||||||
id?: string;
|
id?: string;
|
||||||
|
numero_avenant?: string; // Numéro de l'avenant (ex: AVE-001)
|
||||||
contract_id: string;
|
contract_id: string;
|
||||||
contract_number?: string;
|
contract_number?: string;
|
||||||
employee_name?: string;
|
employee_name?: string;
|
||||||
|
employee_matricule?: string;
|
||||||
organization_name?: string;
|
organization_name?: string;
|
||||||
|
production_name?: string;
|
||||||
|
|
||||||
// Métadonnées
|
// Métadonnées
|
||||||
date_effet: string; // Date d'effet de l'avenant (YYYY-MM-DD)
|
date_effet: string; // Date d'effet de l'avenant (YYYY-MM-DD)
|
||||||
date_signature?: string; // Date de signature (YYYY-MM-DD)
|
date_avenant?: string; // Date de signature de l'avenant (YYYY-MM-DD)
|
||||||
|
date_signature?: string; // Alias pour date_avenant
|
||||||
|
type_avenant?: string; // "modification" ou "annulation"
|
||||||
|
motif_avenant?: string; // Motif de l'avenant (texte libre)
|
||||||
status: AmendmentStatus;
|
status: AmendmentStatus;
|
||||||
|
|
||||||
// Éléments avenantés (au moins un doit être présent)
|
// Éléments avenantés (au moins un doit être présent)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue