diff --git a/src/pages/Order/Card/OrderBasicData.vue b/src/pages/Order/Card/OrderBasicData.vue index dfdb5ae48..4bc9e2e43 100644 --- a/src/pages/Order/Card/OrderBasicData.vue +++ b/src/pages/Order/Card/OrderBasicData.vue @@ -64,16 +64,6 @@ const fetchOrderDetails = (order) => { fetchAgencyList(order?.landed, order?.addressFk); }; -const orderMapper = (order) => { - const mappedOrder = { - addressId: order.addressFk, - landed: new Date(order.landed).toISOString(), - }; - if (order.agencyModeFk !== null && order.agencyModeFk !== undefined) { - mappedOrder.agencyModeId = order.agencyModeFk; - } - return mappedOrder; -}; const orderFilter = { include: [ { relation: 'agencyMode', scope: { fields: ['name'] } }, diff --git a/src/pages/Order/Card/OrderCatalogFilter.vue b/src/pages/Order/Card/OrderCatalogFilter.vue index e9987d363..850abb755 100644 --- a/src/pages/Order/Card/OrderCatalogFilter.vue +++ b/src/pages/Order/Card/OrderCatalogFilter.vue @@ -7,7 +7,6 @@ import FetchData from 'components/FetchData.vue'; import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; import VnSelect from 'components/common/VnSelect.vue'; import VnFilterPanelChip from 'components/ui/VnFilterPanelChip.vue'; -import { useValidator } from 'src/composables/useValidator'; import VnInput from 'src/components/common/VnInput.vue'; import getParamWhere from 'src/filters/getParamWhere';