feat(FE-345): Add HPP expedition types and API method

This commit is contained in:
rstubryan
2025-12-18 15:49:01 +07:00
parent ecf1677c27
commit 4a8f2b1e1d
2 changed files with 40 additions and 0 deletions
+17
View File
@@ -142,3 +142,20 @@ export type OverheadTotal = {
actual_total_amount: number;
cost_per_bird: number;
};
export type BaseCostOfRevenueExpedition = {
id: number;
expedition_vendor_id: number;
expedition_vendor_name: string;
qty: number;
unit_price: number;
hpp_amount: number;
};
export type BaseClosingCostOfRevenueExpedition = {
expedition_costs: BaseCostOfRevenueExpedition[];
total_hpp_amount: number;
};
export type ClosingCostOfRevenueExpedition = BaseMetadata &
BaseClosingCostOfRevenueExpedition;