mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-21 22:05:45 +00:00
refactor(FE-335): Rename expedition HPP types and update usages
This commit is contained in:
Vendored
+4
-8
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user