process/init: add evo_graph_price to label
This commit is contained in:
parent
9a4f9d8323
commit
570b864447
@ -191,21 +191,33 @@ export async function getCRMData(apolloClient: ApolloClient<NormalizedCache>, us
|
||||
query: QUERY_GET_ADDPRODUCT_TYPES,
|
||||
});
|
||||
|
||||
const selectRegistration = addproductTypes.evo_addproduct_types?.filter(
|
||||
(x) => x?.evo_product_type === 100_000_001
|
||||
);
|
||||
const selectRegistration = addproductTypes.evo_addproduct_types
|
||||
?.filter((x) => x?.evo_product_type === 100_000_001)
|
||||
.map((x) => ({
|
||||
...x,
|
||||
label: `${x?.label} (${x?.evo_graph_price} руб.)`,
|
||||
}));
|
||||
|
||||
const selectTechnicalCard = addproductTypes.evo_addproduct_types?.filter(
|
||||
(x) => x?.evo_product_type === 100_000_000
|
||||
);
|
||||
const selectTechnicalCard = addproductTypes.evo_addproduct_types
|
||||
?.filter((x) => x?.evo_product_type === 100_000_000)
|
||||
.map((x) => ({
|
||||
...x,
|
||||
label: `${x?.label} (${x?.evo_graph_price} руб.)`,
|
||||
}));
|
||||
|
||||
const selectTelematic = addproductTypes.evo_addproduct_types?.filter(
|
||||
(x) => x?.evo_product_type === 100_000_004
|
||||
);
|
||||
const selectTelematic = addproductTypes.evo_addproduct_types
|
||||
?.filter((x) => x?.evo_product_type === 100_000_004)
|
||||
.map((x) => ({
|
||||
...x,
|
||||
label: `${x?.label} (${x?.evo_graph_price} руб.)`,
|
||||
}));
|
||||
|
||||
const selectTracker = addproductTypes.evo_addproduct_types?.filter(
|
||||
(x) => x?.evo_product_type === 100_000_003
|
||||
);
|
||||
const selectTracker = addproductTypes.evo_addproduct_types
|
||||
?.filter((x) => x?.evo_product_type === 100_000_003)
|
||||
.map((x) => ({
|
||||
...x,
|
||||
label: `${x?.label} (${x?.evo_graph_price} руб.)`,
|
||||
}));
|
||||
|
||||
const selectNSIB = addproductTypes.evo_addproduct_types?.filter(
|
||||
(x) => x?.evo_product_type === 100_000_002
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user