mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
refactor(FE-345): Rename CostOfRevenueExpedition to HppExpedition
This commit is contained in:
+4
-4
@@ -7,15 +7,15 @@ import Card from '@/components/Card';
|
||||
import { formatCurrency } from '@/lib/helper';
|
||||
import { BaseHppExpedition, BaseExpeditionCost } from '@/types/api/closing';
|
||||
|
||||
interface CostOfRevenueExpeditionReportTableProps {
|
||||
interface HppExpeditionReportTableProps {
|
||||
type?: 'detail';
|
||||
initialValues?: BaseHppExpedition;
|
||||
}
|
||||
|
||||
const CostOfRevenueExpeditionReportTable = ({
|
||||
const HppExpeditionReportTable = ({
|
||||
type = 'detail',
|
||||
initialValues,
|
||||
}: CostOfRevenueExpeditionReportTableProps) => {
|
||||
}: HppExpeditionReportTableProps) => {
|
||||
const costOfRevenueExpeditionData: BaseExpeditionCost[] = useMemo(() => {
|
||||
return initialValues?.expedition_costs || [];
|
||||
}, [initialValues]);
|
||||
@@ -107,4 +107,4 @@ const CostOfRevenueExpeditionReportTable = ({
|
||||
);
|
||||
};
|
||||
|
||||
export default CostOfRevenueExpeditionReportTable;
|
||||
export default HppExpeditionReportTable;
|
||||
Reference in New Issue
Block a user