refactor(FE-335): Rename expedition HPP types and update usages

This commit is contained in:
rstubryan
2025-12-18 16:26:09 +07:00
parent 447b8067f7
commit 8dc23f83cd
3 changed files with 14 additions and 26 deletions
+4 -8
View File
@@ -143,19 +143,15 @@ export type OverheadTotal = {
cost_per_bird: number;
};
export type BaseCostOfRevenueExpedition = {
export type BaseExpeditionCost = {
id: number;
expedition_vendor_id: number;
expedition_vendor_name: string;
qty: number;
unit_price: number;
hpp_amount: number;
};
export type BaseClosingCostOfRevenueExpedition = {
expedition_costs: BaseCostOfRevenueExpedition[];
export type BaseHppExpedition = {
expedition_costs: BaseExpeditionCost[];
total_hpp_amount: number;
};
export type ClosingCostOfRevenueExpedition = BaseMetadata &
BaseClosingCostOfRevenueExpedition;
export type ClosingHppExpedition = BaseMetadata & BaseHppExpedition;