#6464 correct negativeBases #373

Merged
jon merged 20 commits from 6464-fixNegativeBases into dev 2024-06-27 10:30:20 +00:00
13 changed files with 7 additions and 54 deletions
Showing only changes of commit fd744158ac - Show all commits

View File

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

View File

@ -183,11 +183,10 @@ const toCustomerAddressEdit = (addressId) => {
<QCheckbox <QCheckbox
:label="t('Is equalizated')" :label="t('Is equalizated')"
v-model="item.isEqualizated" v-model="item.isEqualizated"
class="q-mr-lg disabled-checkbox" class="q-mr-lg"
jon marked this conversation as resolved Outdated
Outdated
Review

Esta clase no la acabo de entender, sin ella funciona igual

Esta clase no la acabo de entender, sin ella funciona igual
Outdated
Review

Es para que los checkbox estén todos como en salix, por eso hay varios archivos que el único cambio es ese

Es para que los checkbox estén todos como en salix, por eso hay varios archivos que el único cambio es ese
disable disable
/> />
<QCheckbox <QCheckbox
class="disabled-checkbox"
:label="t('Is logiflora allowed')" :label="t('Is logiflora allowed')"
v-model="item.isLogifloraAllowed" v-model="item.isLogifloraAllowed"
disable disable

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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