refactor: refs #8277 update QBadge styling for company column in invoice creation
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jorge Penadés 2025-04-14 15:07:10 +02:00
parent e680cbc25d
commit a02174af7b
1 changed files with 4 additions and 4 deletions

View File

@ -407,10 +407,10 @@ async function createInvoice() {
</span> </span>
</template> </template>
<template #column-company="{ row }"> <template #column-company="{ row }">
{{ row.color }} <QBadge
<QBadge :color="{ 'background-color': `${row.color} !important` }"> :style="{ backgroundColor: row.color ? `#${row.color}` : 'transparent' }"
{{ row.company }} :label="row.company"
</QBadge> />
</template> </template>
<template #column-gestDocFk="{ row }"> <template #column-gestDocFk="{ row }">
<span class="link" @click.stop="downloadFile(row.gestDocFk)"> <span class="link" @click.stop="downloadFile(row.gestDocFk)">