mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
feat(FE-85-87-88): slicing ui and integrate api for search and edit
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { Product } from '@/types/api/master-data/product';
|
||||
import { Warehouse } from '../master-data/warehouse';
|
||||
import { Warehouse } from '@/types/api/master-data/warehouse';
|
||||
|
||||
export type BaseInventoryAdjustment = {
|
||||
id: number;
|
||||
|
||||
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { BaseMetadata } from "../api-general";
|
||||
import { BaseMetadata } from "@/types/api/api-general";
|
||||
|
||||
export type BaseFlock = {
|
||||
id: number;
|
||||
|
||||
+1
@@ -5,6 +5,7 @@ import { BaseUser } from '@/types/api/user';
|
||||
export type BaseKandang = {
|
||||
id: number;
|
||||
name: string;
|
||||
status: string;
|
||||
location: BaseLocation;
|
||||
pic: BaseUser;
|
||||
};
|
||||
|
||||
+12
-7
@@ -1,9 +1,9 @@
|
||||
import { Area } from "../master-data/area";
|
||||
import { Fcr } from "../master-data/fcr";
|
||||
import { Flock } from "../master-data/flock";
|
||||
import { Kandang } from "../master-data/kandang";
|
||||
import { Location } from "../master-data/location";
|
||||
import { ProductCategory } from "../master-data/product-category";
|
||||
import { Area } from "@/types/api/master-data/area";
|
||||
import { Fcr } from "@/types/api/master-data/fcr";
|
||||
import { Flock } from "@/types/api/master-data/flock";
|
||||
import { Kandang } from "@/types/api/master-data/kandang";
|
||||
import { Location } from "@/types/api/master-data/location";
|
||||
import { ProductCategory } from "@/types/api/master-data/product-category";
|
||||
|
||||
export type BaseProjectFlock = {
|
||||
name: string;
|
||||
@@ -22,10 +22,15 @@ export type BaseProjectFlock = {
|
||||
kandangs: Kandang[];
|
||||
}
|
||||
|
||||
export type PeriodFlock = {
|
||||
flock: Flock;
|
||||
next_period: number;
|
||||
}
|
||||
|
||||
|
||||
export type ProjectFlock = BaseMetadata & BaseProjectFlock
|
||||
|
||||
export type CreateProjectFlockPayload = {
|
||||
name: string;
|
||||
flock_id: number;
|
||||
area_id: number;
|
||||
product_category_id: number;
|
||||
|
||||
Reference in New Issue
Block a user