mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 13:55:45 +00:00
refactor(FE): Add invoice download and PO table columns
This commit is contained in:
Vendored
+14
-4
@@ -1,10 +1,15 @@
|
||||
import { BaseApproval, BaseMetadata } from '@/types/api/api-general';
|
||||
import {
|
||||
BaseApproval,
|
||||
BaseMetadata,
|
||||
CreatedUser,
|
||||
} from '@/types/api/api-general';
|
||||
import { Supplier } from '@/types/api/master-data/supplier';
|
||||
import { Warehouse } from '@/types/api/master-data/warehouse';
|
||||
import { Product } from '@/types/api/master-data/product';
|
||||
import { ProductWarehouse } from '@/types/api/inventory/product-warehouse';
|
||||
import { Area } from '@/types/api/master-data/area';
|
||||
import { Location } from '@/types/api/master-data/location';
|
||||
import { Uom } from '@/types/api/master-data/uom';
|
||||
|
||||
export type PurchaseItemProduct = {
|
||||
id: number;
|
||||
@@ -12,14 +17,15 @@ export type PurchaseItemProduct = {
|
||||
flags?: string[];
|
||||
ProductPrice?: number;
|
||||
SellingPrice?: number;
|
||||
uom?: {
|
||||
name: string;
|
||||
};
|
||||
uom: Uom;
|
||||
product_category?:
|
||||
| {
|
||||
id: number;
|
||||
name: string;
|
||||
code: string;
|
||||
}
|
||||
| string;
|
||||
suppliers?: Supplier[];
|
||||
};
|
||||
|
||||
export type PurchaseItem = {
|
||||
@@ -69,6 +75,10 @@ export type BasePurchase = {
|
||||
warehouse?: Warehouse;
|
||||
items?: PurchaseItem[];
|
||||
latest_approval?: BaseApproval;
|
||||
requester_name?: string;
|
||||
po_expedition?: string[];
|
||||
created_user?: CreatedUser;
|
||||
products?: PurchaseItemProduct[];
|
||||
};
|
||||
|
||||
export type Purchase = BaseMetadata & BasePurchase;
|
||||
|
||||
Reference in New Issue
Block a user