mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
refactor(FE-114,136,137): update feed and vaccination fields to use IDs instead of names and add stock validation
This commit is contained in:
Vendored
+2
-2
@@ -38,7 +38,7 @@ export type CreateRecordingPayload = {
|
||||
location_id: number;
|
||||
coop_id: number;
|
||||
feed_data: {
|
||||
feed_name: string;
|
||||
feed_id: string;
|
||||
feed_qty: number;
|
||||
feed_stock: number;
|
||||
}[];
|
||||
@@ -48,7 +48,7 @@ export type CreateRecordingPayload = {
|
||||
average_chicken_weight: number;
|
||||
}[];
|
||||
vaccination: {
|
||||
vaccine_name: string;
|
||||
vaccine_id: string;
|
||||
total_stock: number;
|
||||
used_stock: number;
|
||||
}[];
|
||||
|
||||
Reference in New Issue
Block a user