diff --git a/src/pages/Ticket/Card/TicketSummary.vue b/src/pages/Ticket/Card/TicketSummary.vue index c1321b0d9..3330b4d1d 100644 --- a/src/pages/Ticket/Card/TicketSummary.vue +++ b/src/pages/Ticket/Card/TicketSummary.vue @@ -15,6 +15,7 @@ import { getUrl } from 'src/composables/getUrl'; import VnUserLink from 'src/components/ui/VnUserLink.vue'; import VnTitle from 'src/components/common/VnTitle.vue'; import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue'; +import ZoneDescriptorProxy from 'src/pages/Zone/Card/ZoneDescriptorProxy.vue'; const route = useRoute(); const router = useRouter(); @@ -79,6 +80,29 @@ async function changeState(value) { await axios.post(`Tickets/state`, formData); router.go(route.fullPath); } + +function getNoteValue(description) { + switch (description) { + case 'ItemPicker': + return t('ItemPicker'); + case 'Packager': + return t('Packager'); + case 'Delivery': + return t('Delivery'); + case 'SalesPerson': + return t('SalesPerson'); + case 'Administrative': + return t('Administrative'); + case 'Weight': + return t('Weight'); + case 'InvoiceOut': + return t('InvoiceOut'); + case 'DropOff': + return t('DropOff'); + case 'Sustitución': + return t('Sustitución'); + } +}