fix: refs 6464 deleted useless class in checkbox

This commit is contained in:
Jon Elias 2024-06-27 10:15:17 +02:00
parent e733873933
commit fd744158ac
13 changed files with 7 additions and 54 deletions

View File

@ -152,7 +152,7 @@ select:-webkit-autofill {
color: var(--vn-label-color);
}
.disabled-checkbox {
.disabled {
& .q-checkbox__label {
color: var(--vn-text-color);
}

View File

@ -183,11 +183,10 @@ const toCustomerAddressEdit = (addressId) => {
<QCheckbox
:label="t('Is equalizated')"
v-model="item.isEqualizated"
class="q-mr-lg disabled-checkbox"
class="q-mr-lg"
disable
/>
<QCheckbox
class="disabled-checkbox"
:label="t('Is logiflora allowed')"
v-model="item.isLogifloraAllowed"
disable

View File

@ -258,11 +258,7 @@ const showBalancePdf = (balance) => {
<template #body-cell-conciliated="{ row }">
<QTd align="center">
<QCheckbox
:model-value="row.isConciliate === 1"
disable
class="disabled-checkbox"
/>
<QCheckbox :model-value="row.isConciliate === 1" disable />
</QTd>
</template>

View File

@ -81,7 +81,6 @@ const tableColumnComponents = {
props: (prop) => ({
disable: true,
'model-value': Boolean(prop.value),
class: 'disabled-checkbox',
}),
event: () => {},
},

View File

@ -132,43 +132,36 @@ const creditWarning = computed(() => {
:text="t('customer.summary.fiscalData')"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.isEqualizated')"
v-model="entity.isEqualizated"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.isActive')"
v-model="entity.isActive"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.invoiceByAddress')"
v-model="entity.hasToInvoiceByAddress"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.verifiedData')"
v-model="entity.isTaxDataChecked"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.hasToInvoice')"
v-model="entity.hasToInvoice"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.notifyByEmail')"
v-model="entity.isToBeMailed"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.vies')"
v-model="entity.isVies"
:disable="true"
@ -186,21 +179,18 @@ const creditWarning = computed(() => {
<VnLv :label="t('customer.summary.bankAccount')" :value="entity.iban" />
<VnLv :label="t('customer.summary.dueDay')" :value="entity.dueDay" />
<QCheckbox
class="disabled-checkbox"
style="padding: 0"
:label="t('customer.summary.hasLcr')"
v-model="entity.hasLcr"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.hasCoreVnl')"
v-model="entity.hasCoreVnl"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.hasB2BVnl')"
v-model="entity.hasSepaVnl"
:disable="true"
@ -234,7 +224,6 @@ const creditWarning = computed(() => {
:value="entity.account.name"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('customer.summary.webAccess')"
v-model="entity.account.active"
:disable="true"

View File

@ -91,7 +91,6 @@ const tableColumnComponents = {
props: (prop) => ({
disable: true,
'model-value': prop.value,
class: 'disabled-checkbox',
}),
event: () => {},
},

View File

@ -230,7 +230,6 @@ const fetchEntryBuys = async () => {
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.travelDelivered')"
v-model="entry.travel.isDelivered"
:disable="true"
@ -243,7 +242,6 @@ const fetchEntryBuys = async () => {
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.travelReceived')"
v-model="entry.travel.isReceived"
:disable="true"
@ -258,31 +256,26 @@ const fetchEntryBuys = async () => {
<QIcon name="open_in_new" />
</router-link>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.ordered')"
v-model="entry.isOrdered"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.confirmed')"
v-model="entry.isConfirmed"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.booked')"
v-model="entry.isBooked"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.raid')"
v-model="entry.isRaid"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('entry.summary.excludedFromAvailable')"
v-model="entry.isExcludedFromAvailable"
:disable="true"

View File

@ -168,29 +168,17 @@ const downloadCSV = async () => {
</template>
<template #body-cell-active="{ row }">
<QTd>
<QCheckbox
:model-value="!!row.isActive"
disable
class="disabled-checkbox"
/>
<QCheckbox :model-value="!!row.isActive" disable />
</QTd>
</template>
<template #body-cell-hasToInvoice="{ row }">
<QTd>
<QCheckbox
:model-value="!!row.hasToInvoice"
disable
class="disabled-checkbox"
/>
<QCheckbox :model-value="!!row.hasToInvoice" disable />
</QTd>
</template>
<template #body-cell-verifiedData="{ row }">
<QTd>
<QCheckbox
:model-value="!!row.isTaxDataChecked"
disable
class="disabled-checkbox"
/>
<QCheckbox :model-value="!!row.isTaxDataChecked" disable />
</QTd>
</template>
</QTable>

View File

@ -224,7 +224,6 @@ onUnmounted(() => (stateStore.rightDrawer = false));
<template #body-cell-ig="{ row }">
<QTd @click.stop>
<QCheckbox
class="disabled-checkbox"
v-model="row.isIgnored"
:disable="true"
:false-value="0"

View File

@ -96,7 +96,6 @@ const isAdministrative = computed(() => {
<VnLv :info="t('Este artículo necesita una foto')">
<template #value>
<QCheckbox
class="disabled-checkbox"
:label="t('item.summary.doPhoto')"
v-model="item.isPhotoRequested"
:disable="true"

View File

@ -522,11 +522,7 @@ onUnmounted(() => (stateStore.rightDrawer = false));
</template>
<template #body-cell-isActive="{ row }">
<QTd>
<QCheckbox
class="disabled-checkbox"
:model-value="!!row.isActive"
disable
/>
<QCheckbox :model-value="!!row.isActive" disable />
</QTd>
</template>
<template #body-cell-actions="{ row }">

View File

@ -76,13 +76,11 @@ function getUrl(section) {
</template>
</VnLv>
<QCheckbox
class="disabled-checkbox"
:label="t('supplier.summary.verified')"
v-model="supplier.isSerious"
:disable="true"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('supplier.summary.isActive')"
v-model="supplier.isActive"
:disable="true"

View File

@ -257,7 +257,6 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`;
:value="travel.warehouseOut?.name"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('travel.summary.delivered')"
v-model="travel.isDelivered"
:disable="true"
@ -276,7 +275,6 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`;
:value="travel.warehouseIn?.name"
/>
<QCheckbox
class="disabled-checkbox"
:label="t('travel.summary.received')"
v-model="travel.isReceived"
:disable="true"