From 1328dcfdd7fa2e607fa5182892dc1dfcb015fcba Mon Sep 17 00:00:00 2001 From: tristan Date: Wed, 29 Apr 2026 10:03:32 +0200 Subject: [PATCH] feat(front) : ajout entryCompleted, registeredBovineCount, bovine.reception aux DTOs Co-Authored-By: Claude Opus 4.7 (1M context) --- frontend/services/dto/bovine-data.ts | 2 ++ frontend/services/dto/reception-data.ts | 3 +++ 2 files changed, 5 insertions(+) diff --git a/frontend/services/dto/bovine-data.ts b/frontend/services/dto/bovine-data.ts index 96ef87c..2759ecc 100644 --- a/frontend/services/dto/bovine-data.ts +++ b/frontend/services/dto/bovine-data.ts @@ -25,6 +25,7 @@ export interface BovineData { sex: string | null ageMonths: number | null exitedAt: string | null + reception?: string | null } export type BovinePayload = { @@ -34,4 +35,5 @@ export type BovinePayload = { arrivalDate?: string | null buildingCase?: string | null supplier?: string | null + reception?: string | null } diff --git a/frontend/services/dto/reception-data.ts b/frontend/services/dto/reception-data.ts index d8cec88..facc597 100644 --- a/frontend/services/dto/reception-data.ts +++ b/frontend/services/dto/reception-data.ts @@ -18,6 +18,8 @@ export interface ReceptionData { receptionDate: string currentStep: number isValid: boolean + entryCompleted?: boolean + registeredBovineCount?: number receptionType?: ReceptionTypeData | null merchandiseType?: MerchandiseTypeData | null merchandiseDetail?: string | null @@ -63,6 +65,7 @@ export type ReceptionPayload = { receptionDate?: string currentStep?: number isValid?: boolean + entryCompleted?: boolean receptionType?: string | null merchandiseType?: string | null merchandiseDetail?: string | null