mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
feat(FE-363): Add Logistic API service and update types
This commit is contained in:
+3
-3
@@ -3,7 +3,7 @@ import { Supplier } from '@/types/api/supplier/supplier';
|
||||
import { Product } from '@/types/api/product/product';
|
||||
import { Area } from '@types/api/area/area';
|
||||
|
||||
export type LogisticStockItems = {
|
||||
export type LogisticPurchasePerSupplierItems = {
|
||||
id: number;
|
||||
received_date: string;
|
||||
po_date: string;
|
||||
@@ -20,11 +20,11 @@ export type LogisticStockItems = {
|
||||
travel_number: string;
|
||||
};
|
||||
|
||||
export type BaseLogisticStockReport = {
|
||||
export type BaseLogisticPurchasePerSupplierReport = {
|
||||
id: number;
|
||||
supplier: Supplier;
|
||||
items: LogisticStockItems[];
|
||||
};
|
||||
|
||||
export type LogisticStockReportResponse = BaseMetadata &
|
||||
export type LogisticPurchasePerSupplierReport = BaseMetadata &
|
||||
BaseLogisticStockReport;
|
||||
|
||||
Reference in New Issue
Block a user