mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 21:41:57 +00:00
feat(FE-363): Add TypeScript definitions for logistic stock report
This commit is contained in:
+30
@@ -0,0 +1,30 @@
|
||||
import { BaseMetadata } from '@/types/api/api-general';
|
||||
import { Supplier } from '@/types/api/supplier/supplier';
|
||||
import { Product } from '@/types/api/product/product';
|
||||
import { Area } from '../master-data/area';
|
||||
|
||||
export type LogisticStockItems = {
|
||||
id: number;
|
||||
received_date: string;
|
||||
po_date: string;
|
||||
po_number: string;
|
||||
product: Product;
|
||||
area: Area;
|
||||
destination_warehouse: string;
|
||||
qty: number;
|
||||
price: number;
|
||||
transport_per_item: number;
|
||||
transport_total: number;
|
||||
expedition_vendor_id: number;
|
||||
expedition_vendor_name: string;
|
||||
travel_number: string;
|
||||
};
|
||||
|
||||
export type BaseLogisticStockReport = {
|
||||
id: number;
|
||||
supplier: Supplier;
|
||||
items: LogisticStockItems[];
|
||||
};
|
||||
|
||||
export type LogisticStockReportResponse = BaseMetadata &
|
||||
BaseLogisticStockReport;
|
||||
Reference in New Issue
Block a user