refactor(FE): Add transition restrictions for recording operations

This commit is contained in:
rstubryan
2026-03-09 09:04:14 +07:00
parent 3042b54577
commit cdf0442a2b
5 changed files with 279 additions and 62 deletions
+1
View File
@@ -74,6 +74,7 @@ export type ProjectFlockKandangLookup = {
available_quantity?: number;
population: number;
chick_in_date: string;
is_transition: boolean;
};
export type ProjectFlockAvailableQuantity = {
+1 -1
View File
@@ -49,7 +49,7 @@ export type BaseRecording = {
project_flock: ProjectFlock;
record_datetime: string;
day: number;
executed_at: string;
is_transition: boolean;
} & ProductionMetrics;
export type RecordingDepletion = {