#7317: Deleted warnings #1261

Merged
jon merged 7 commits from 7317-SupplierWarnings into dev 2025-01-27 09:00:15 +00:00
2 changed files with 5 additions and 5 deletions
Showing only changes of commit 4c1631478c - Show all commits

View File

@ -9,9 +9,9 @@ const $props = defineProps({
type: Boolean, type: Boolean,
default: false, default: false,
}, },
hasInfo: { info: {
type: String, type: String,
default: '', default: undefined,
}, },
modelValue: { modelValue: {
type: [String, Number, Object], type: [String, Number, Object],
@ -57,9 +57,9 @@ const url = computed(() => {
<template #prepend v-if="$props.hasAvatar"> <template #prepend v-if="$props.hasAvatar">
<VnAvatar :worker-id="value" color="primary" v-bind="$attrs" /> <VnAvatar :worker-id="value" color="primary" v-bind="$attrs" />
</template> </template>
<template #append v-if="$props.hasInfo"> <template #append v-if="$props.info">
<QIcon name="info" class="cursor-pointer"> <QIcon name="info" class="cursor-pointer">
<QTooltip>{{ $t($props.hasInfo) }}</QTooltip> <QTooltip>{{ $t($props.info) }}</QTooltip>
</QIcon> </QIcon>
</template> </template>
<template #option="scope"> <template #option="scope">

View File

@ -36,7 +36,7 @@ const companySizes = [
/> />
<VnSelectWorker <VnSelectWorker
v-model="data.workerFk" v-model="data.workerFk"
has-info="Responsible for approving invoices" info="Responsible for approving invoices"
:rules="validate('supplier.workerFk')" :rules="validate('supplier.workerFk')"
/> />
<VnSelect <VnSelect