refactor: refs #8277 simplify QBadge usage in invoice creation component
gitea/salix-front/pipeline/pr-dev This commit is unstable Details

This commit is contained in:
Jorge Penadés 2025-04-14 17:02:39 +02:00
parent a02174af7b
commit 3d1da8345c
1 changed files with 1 additions and 4 deletions

View File

@ -407,10 +407,7 @@ async function createInvoice() {
</span> </span>
</template> </template>
<template #column-company="{ row }"> <template #column-company="{ row }">
<QBadge <QBadge :color="row.color ?? 'transparent'" :label="row.company" />
:style="{ backgroundColor: row.color ? `#${row.color}` : 'transparent' }"
:label="row.company"
/>
</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)">