diff --git a/src/components/CreateThermographForm.vue b/src/components/CreateThermographForm.vue index 0b7e4c5c6..54844ee8f 100644 --- a/src/components/CreateThermographForm.vue +++ b/src/components/CreateThermographForm.vue @@ -38,7 +38,7 @@ const onDataSaved = (dataSaved) => { @on-fetch="(data) => (warehousesOptions = data)" auto-load url="Warehouses" - :filter="{ fields: ['id', 'name'], order: 'name ASC', limit: 30 }" + :filter="{ fields: ['id', 'name'], order: 'name ASC' }" /> { quasar.dialog({ component: VnSmsDialog, componentProps: { - phone: $props.customer.phone || $props.customer.mobile, + phone: $props.customer.mobile || $props.customer.phone, promise: sendSms, }, }); diff --git a/src/pages/Travel/Card/TravelThermographsForm.vue b/src/pages/Travel/Card/TravelThermographsForm.vue index 5e3ecdc3e..f56ef1eda 100644 --- a/src/pages/Travel/Card/TravelThermographsForm.vue +++ b/src/pages/Travel/Card/TravelThermographsForm.vue @@ -207,6 +207,7 @@ const onThermographCreated = async (data) => { option-label="thermographFk" :disable="viewAction === 'edit'" :tooltip="t('New thermograph')" + :roles-allowed-to-create="['logistic']" >