mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
fix: update purchase type
This commit is contained in:
Vendored
+8
@@ -57,6 +57,8 @@ export type PurchaseItem = {
|
|||||||
alias?: string;
|
alias?: string;
|
||||||
category?: string;
|
category?: string;
|
||||||
} | null;
|
} | null;
|
||||||
|
expedition_qty?: number;
|
||||||
|
expedition_total?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type BasePurchase = {
|
export type BasePurchase = {
|
||||||
@@ -81,6 +83,9 @@ export type BasePurchase = {
|
|||||||
po_expedition?: { id: number; refrence: string }[];
|
po_expedition?: { id: number; refrence: string }[];
|
||||||
created_user?: CreatedUser;
|
created_user?: CreatedUser;
|
||||||
products?: PurchaseItemProduct[];
|
products?: PurchaseItemProduct[];
|
||||||
|
products_total?: number;
|
||||||
|
expedition_total?: number;
|
||||||
|
grand_total_all?: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Purchase = BaseMetadata & BasePurchase;
|
export type Purchase = BaseMetadata & BasePurchase;
|
||||||
@@ -149,6 +154,9 @@ export type UpdatePurchaseRequestPayload = CreatePurchaseRequestPayload;
|
|||||||
|
|
||||||
export type PurchaseFilter = {
|
export type PurchaseFilter = {
|
||||||
poDate: string;
|
poDate: string;
|
||||||
|
start_date?: string;
|
||||||
|
end_date?: string;
|
||||||
|
filterBy?: { label: string; value: string };
|
||||||
category: string[];
|
category: string[];
|
||||||
category_labels?: { label: string; value: number }[];
|
category_labels?: { label: string; value: number }[];
|
||||||
status: string[];
|
status: string[];
|
||||||
|
|||||||
Reference in New Issue
Block a user