diff --git a/src/i18n/locale/en.yml b/src/i18n/locale/en.yml
index ff57bf968..942018b84 100644
--- a/src/i18n/locale/en.yml
+++ b/src/i18n/locale/en.yml
@@ -513,7 +513,7 @@ claim:
records: records
card:
claimId: Claim ID
- assignedTo: Assigned
+ attendedBy: Attended by
created: Created
state: State
ticketId: Ticket ID
@@ -551,6 +551,7 @@ claim:
responsible: Responsible
worker: Worker
redelivery: Redelivery
+ changeState: Change state
basicData:
customer: Customer
assignedTo: Assigned
diff --git a/src/i18n/locale/es.yml b/src/i18n/locale/es.yml
index f9278a9b0..3de5af50c 100644
--- a/src/i18n/locale/es.yml
+++ b/src/i18n/locale/es.yml
@@ -511,7 +511,7 @@ claim:
records: registros
card:
claimId: ID reclamación
- assignedTo: Asignada a
+ attendedBy: Atendida por
created: Creada
state: Estado
ticketId: ID ticket
@@ -549,6 +549,7 @@ claim:
responsible: Responsable
worker: Trabajador
redelivery: Devolución
+ changeState: Cambiar estado
basicData:
customer: Cliente
assignedTo: Asignada a
diff --git a/src/pages/Claim/Card/ClaimDescriptor.vue b/src/pages/Claim/Card/ClaimDescriptor.vue
index 968f1e294..3b5dd82b8 100644
--- a/src/pages/Claim/Card/ClaimDescriptor.vue
+++ b/src/pages/Claim/Card/ClaimDescriptor.vue
@@ -11,6 +11,7 @@ import VnLv from 'src/components/ui/VnLv.vue';
import useCardDescription from 'src/composables/useCardDescription';
import VnUserLink from 'src/components/ui/VnUserLink.vue';
import { getUrl } from 'src/composables/getUrl';
+import ZoneDescriptorProxy from 'src/pages/Zone/Card/ZoneDescriptorProxy.vue';
const $props = defineProps({
id: {
@@ -127,17 +128,24 @@ onMounted(async () => {
-
+
+
+
+ {{ entity.ticket?.zone?.name }}
+
+
+
+
import { onMounted, ref, computed } from 'vue';
-import { useRoute } from 'vue-router';
+import { useRoute, useRouter } from 'vue-router';
import { useI18n } from 'vue-i18n';
import { toDate, toCurrency } from 'src/filters';
import CardSummary from 'components/ui/CardSummary.vue';
@@ -13,8 +13,10 @@ import VnUserLink from 'src/components/ui/VnUserLink.vue';
import ItemDescriptorProxy from 'src/pages/Item/Card/ItemDescriptorProxy.vue';
import VnTitle from 'src/components/common/VnTitle.vue';
import CustomerDescriptorProxy from 'src/pages/Customer/Card/CustomerDescriptorProxy.vue';
+import axios from 'axios';
const route = useRoute();
+const router = useRouter();
const { t } = useI18n();
const { getTokenMultimedia } = useSession();
const token = getTokenMultimedia();
@@ -27,7 +29,7 @@ const $props = defineProps({
});
const entityId = computed(() => $props.id || route.params.id);
-
+const ClaimStates = ref([]);
const claimUrl = ref();
const salixUrl = ref();
const claimDmsRef = ref();
@@ -162,6 +164,10 @@ function openDialog(dmsId) {
multimediaSlide.value = dmsId;
multimediaDialog.value = true;
}
+async function changeState(value) {
+ await axios.patch(`Claims/updateClaim/${entityId.value}`, { claimStateFk: value });
+ router.go(route.fullPath);
+}
@@ -171,6 +177,7 @@ function openDialog(dmsId) {
@on-fetch="(data) => setClaimDms(data)"
ref="claimDmsRef"
/>
+ (ClaimStates = data)" auto-load />
{{ claim.id }} - {{ claim.client.name }} ({{ claim.client.id }})
+
+
+
+
+
+
+ {{ item.description }}
+
+
+
+
+
+
diff --git a/src/pages/Zone/Card/ZoneDescriptor.vue b/src/pages/Zone/Card/ZoneDescriptor.vue
new file mode 100644
index 000000000..665cb6f0e
--- /dev/null
+++ b/src/pages/Zone/Card/ZoneDescriptor.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+ {{ t('Go to module index') }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ t('All travels with current agency') }}
+
+
+
+
+
+
+
+es:
+ Go to module index: Ir al índice del módulo
+ The travel will be deleted: El envío será eliminado
+ Do you want to delete this travel?: ¿Quieres eliminar este envío?
+ All travels with current agency: Todos los envíos con la agencia actual
+
diff --git a/src/pages/Zone/Card/ZoneDescriptorMenuItems.vue b/src/pages/Zone/Card/ZoneDescriptorMenuItems.vue
new file mode 100644
index 000000000..920d83dfe
--- /dev/null
+++ b/src/pages/Zone/Card/ZoneDescriptorMenuItems.vue
@@ -0,0 +1,108 @@
+
+
+
+
+ {{ t('travel.summary.cloneShipping') }}
+
+
+
+ {{ t('travel.summary.CloneZoneAndEntries') }}
+
+
+
+
+ {{ t('travel.summary.deleteZone') }}
+
+
+
+
+
+ {{ t('travel.summary.AddEntry') }}
+
+
+
+
+
+
+es:
+ The travel will be deleted: El envío será eliminado
+ Do you want to delete this travel?: ¿Quieres eliminar este envío?
+
diff --git a/src/pages/Zone/Card/ZoneDescriptorProxy.vue b/src/pages/Zone/Card/ZoneDescriptorProxy.vue
new file mode 100644
index 000000000..15c5fb0e5
--- /dev/null
+++ b/src/pages/Zone/Card/ZoneDescriptorProxy.vue
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+