diff --git a/src/components/common/VnSmsDialog.vue b/src/components/common/VnSmsDialog.vue index 4306beb4c..5b192f95d 100644 --- a/src/components/common/VnSmsDialog.vue +++ b/src/components/common/VnSmsDialog.vue @@ -199,8 +199,9 @@ es: templates: pendingPayment: 'Su pedido está pendiente de pago. Por favor, entre en la página web y efectue el pago con tarjeta. Muchas gracias.' - minAmount: 'Es necesario un importe mínimo de 50€ (Sin IVA) en su pedido - { orderId } con llegada { landing } para recibirlo sin portes adicionales.' + minAmount: 'Te recordamos que tu pedido {orderId} es inferior a 50€. + Te recomendamos amplíes para no generar costes extra, provocarán un incremento de tu tarifa. + ¡Un saludo!' orderChanges: 'Pedido {orderId} con llegada estimada día { landing }: { changes }' en: Inglés es: Español diff --git a/src/pages/Claim/Card/ClaimBasicData.vue b/src/pages/Claim/Card/ClaimBasicData.vue index 56717c628..47d1ac1c6 100644 --- a/src/pages/Claim/Card/ClaimBasicData.vue +++ b/src/pages/Claim/Card/ClaimBasicData.vue @@ -41,6 +41,7 @@ const workers = ref([]); const workersCopy = ref([]); const claimStates = ref([]); const claimStatesCopy = ref([]); +const optionsList = ref([]); function setWorkers(data) { workers.value = data; @@ -51,9 +52,9 @@ function setClaimStates(data) { claimStates.value = data; claimStatesCopy.value = data; } -let optionsList; + async function getEnumValues() { - optionsList = [{ id: null, description: t('claim.basicData.null') }]; + optionsList.value = [{ id: null, description: t('claim.basicData.null') }]; const { data } = await axios.get(`Applications/get-enum-values`, { params: { schema: 'vn', @@ -62,8 +63,9 @@ async function getEnumValues() { }, }); for (let value of data) - optionsList.push({ id: value, description: t(`claim.basicData.${value}`) }); + optionsList.value.push({ id: value, description: t(`claim.basicData.${value}`) }); } + getEnumValues(); const workerFilter = { diff --git a/src/pages/Customer/components/CustomerAddressEdit.vue b/src/pages/Customer/components/CustomerAddressEdit.vue index 3457c7ab5..734924993 100644 --- a/src/pages/Customer/components/CustomerAddressEdit.vue +++ b/src/pages/Customer/components/CustomerAddressEdit.vue @@ -180,10 +180,13 @@ function handleLocation(data, location) { :rules="validate('Worker.postcode')" :roles-allowed-to-create="['deliveryAssistant']" :options="postcodesOptions" - v-model="data.location" + v-model="data.postalCode" @update:model-value="(location) => handleLocation(data, location)" > + + +
-
-

{{ t('Notes') }}