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