From e29613a37e362017d1b590dff26e3a11e264eec0 Mon Sep 17 00:00:00 2001 From: ValdiANS Date: Tue, 21 Oct 2025 15:54:11 +0700 Subject: [PATCH] chore(FE-113): add status field --- src/app/production/transfer-to-laying/detail/page.tsx | 2 ++ src/services/api/production/transfer-to-laying.ts | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/src/app/production/transfer-to-laying/detail/page.tsx b/src/app/production/transfer-to-laying/detail/page.tsx index 91b70bc6..4d603098 100644 --- a/src/app/production/transfer-to-laying/detail/page.tsx +++ b/src/app/production/transfer-to-laying/detail/page.tsx @@ -28,6 +28,7 @@ const DUMMY_TRANSFER_TO_LAYING_DETAIL: TransferToLaying = { kandang: { id: 1, name: 'Kandang test', + status: 'ACTIVE', location: { id: 1, name: 'test location', @@ -55,6 +56,7 @@ const DUMMY_TRANSFER_TO_LAYING_DETAIL: TransferToLaying = { kandang: { id: 1, name: 'Kandang test 2', + status: 'ACTIVE', location: { id: 1, name: 'test location', diff --git a/src/services/api/production/transfer-to-laying.ts b/src/services/api/production/transfer-to-laying.ts index 94af7ae8..69b4db73 100644 --- a/src/services/api/production/transfer-to-laying.ts +++ b/src/services/api/production/transfer-to-laying.ts @@ -25,6 +25,7 @@ const FLOCK_SOURCE_DUMMY_DATA: BaseApiResponse = { kandang: { id: 3, name: 'Cikaum 1', + status: 'ACTIVE', location: { id: 1, name: 'Singaparna', @@ -47,6 +48,7 @@ const FLOCK_SOURCE_DUMMY_DATA: BaseApiResponse = { kandang: { id: 4, name: 'Cikaum 2', + status: 'ACTIVE', location: { id: 1, name: 'Singaparna', @@ -69,6 +71,7 @@ const FLOCK_SOURCE_DUMMY_DATA: BaseApiResponse = { kandang: { id: 5, name: 'Cikaum 3', + status: 'ACTIVE', location: { id: 1, name: 'Singaparna', @@ -99,6 +102,7 @@ const FLOCK_SOURCE_DUMMY_DATA: BaseApiResponse = { kandang: { id: 3, name: 'Cikaum 1', + status: 'ACTIVE', location: { id: 1, name: 'Singaparna', @@ -121,6 +125,7 @@ const FLOCK_SOURCE_DUMMY_DATA: BaseApiResponse = { kandang: { id: 4, name: 'Cikaum 2', + status: 'ACTIVE', location: { id: 1, name: 'Singaparna',