diff --git a/src/types/api/purchase/purchase.d.ts b/src/types/api/purchase/purchase.d.ts index 98e76aab..d790e895 100644 --- a/src/types/api/purchase/purchase.d.ts +++ b/src/types/api/purchase/purchase.d.ts @@ -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[];