From 45b54332060a2dd2faf3db663bedc7b079e2510c Mon Sep 17 00:00:00 2001 From: carlossa Date: Fri, 20 Sep 2024 09:14:11 +0200 Subject: [PATCH] refs #6898 fix filter --- src/components/CreateNewPostcodeForm.vue | 2 +- src/components/VnSelectProvince.vue | 2 +- src/i18n/locale/en.yml | 1 + src/i18n/locale/es.yml | 1 + src/pages/Supplier/Card/SupplierFiscalData.vue | 2 +- src/pages/Supplier/SupplierList.vue | 13 +++++++++++++ 6 files changed, 18 insertions(+), 3 deletions(-) diff --git a/src/components/CreateNewPostcodeForm.vue b/src/components/CreateNewPostcodeForm.vue index a426ac2b4..f920303c4 100644 --- a/src/components/CreateNewPostcodeForm.vue +++ b/src/components/CreateNewPostcodeForm.vue @@ -105,7 +105,7 @@ async function setProvince(id, data) { option-label="name" option-value="id" :rules="validate('postcode.city')" - :roles-allowed-to-create="['deliveryAssistant']" + :roles-allowed-to-create="['deliveryAssistant', 'administrative']" :emit-value="false" clearable > diff --git a/src/components/VnSelectProvince.vue b/src/components/VnSelectProvince.vue index ea10ace19..d50e292ce 100644 --- a/src/components/VnSelectProvince.vue +++ b/src/components/VnSelectProvince.vue @@ -38,7 +38,7 @@ async function onProvinceCreated(_, data) { hide-selected v-model="provinceFk" :rules="validate && validate('postcode.provinceFk')" - :roles-allowed-to-create="['deliveryAssistant']" + :roles-allowed-to-create="['deliveryAssistant', 'administrative']" >