0
0
Fork 0

feat(TravelSummary): isConfirmed checkbox

This commit is contained in:
Alex Moreno 2024-05-31 14:02:32 +02:00
parent a39c827579
commit 221ed7c534
1 changed files with 6 additions and 10 deletions

View File

@ -319,20 +319,16 @@ const getLink = (param) => `#/travel/${entityId.value}/${param}`;
</QTh> </QTh>
</QTr> </QTr>
</template> </template>
<template #body-cell-isConfirmed="{ col, value }"> <template #body-cell-isConfirmed="{ col, row }">
<QTd> <QTd>
{{ entity }} <QCheckbox
<QIcon
v-if="col.name === 'isConfirmed'"
:name="value ? 'check' : 'close'"
size="sm"
/>
<!-- <QCheckbox
v-if="col.name === 'isConfirmed'" v-if="col.name === 'isConfirmed'"
:label="t('travel.summary.received')" :label="t('travel.summary.received')"
v-model="travel.isConfirmed" :true-value="1"
:false-value="0"
v-model="row[col.name]"
:disable="true" :disable="true"
/> --> />
</QTd> </QTd>
</template> </template>
<template #body-cell-id="{ col, value }"> <template #body-cell-id="{ col, value }">