0
0
Fork 0

refactor: refs #7717 delete useless function and import

This commit is contained in:
Jon Elias 2024-08-19 10:49:04 +02:00
parent 3222a7a42c
commit f3d7590edf
2 changed files with 0 additions and 11 deletions

View File

@ -64,16 +64,6 @@ const fetchOrderDetails = (order) => {
fetchAgencyList(order?.landed, order?.addressFk); 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 = { const orderFilter = {
include: [ include: [
{ relation: 'agencyMode', scope: { fields: ['name'] } }, { relation: 'agencyMode', scope: { fields: ['name'] } },

View File

@ -7,7 +7,6 @@ import FetchData from 'components/FetchData.vue';
import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue'; import VnFilterPanel from 'src/components/ui/VnFilterPanel.vue';
import VnSelect from 'components/common/VnSelect.vue'; import VnSelect from 'components/common/VnSelect.vue';
import VnFilterPanelChip from 'components/ui/VnFilterPanelChip.vue'; import VnFilterPanelChip from 'components/ui/VnFilterPanelChip.vue';
import { useValidator } from 'src/composables/useValidator';
import VnInput from 'src/components/common/VnInput.vue'; import VnInput from 'src/components/common/VnInput.vue';
import getParamWhere from 'src/filters/getParamWhere'; import getParamWhere from 'src/filters/getParamWhere';