fix(FE-92-93-105): adding input note and quantity for create/edit chickin

This commit is contained in:
randy-ar
2025-10-25 06:15:29 +07:00
parent 51bce1a2c7
commit a13a51a16f
7 changed files with 169 additions and 44 deletions
+2
View File
@@ -14,6 +14,8 @@ export type Chickin = BaseMetadata & BaseChickin;
export type CreateChickinPayload = {
project_flock_kandang_id: number;
chick_in_date: string;
note: string;
quantity?: number;
}
export type UpdateChickinPayload = CreateChickinPayload;
+7 -1
View File
@@ -7,6 +7,12 @@ export type BaseProjectFlockKandang = {
kandang_id: number;
kandang: Kandang;
project_flock: ProjectFlock;
available_quantity?: number;
}
export type ProjectFlockKandang = BaseProjectFlockKandang;
export type ProjectFlockKandang = BaseProjectFlockKandang;
export type LookupProjectFlockKandangPayload = {
project_flock_id: number;
kandang_id: number;
}