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>
</template>
<template #column-company="{ row }">
{{ row.color }}
<QBadge :color="{ 'background-color': `${row.color} !important` }">
{{ row.company }}
</QBadge>
<QBadge
:style="{ backgroundColor: row.color ? `#${row.color}` : 'transparent' }"
:label="row.company"
/>
</template>
<template #column-gestDocFk="{ row }">
<span class="link" @click.stop="downloadFile(row.gestDocFk)">