refactor: refs #8667 requested changes
This commit is contained in:
parent
4460b7110e
commit
c41756ebd2
src/pages/Customer/Card
|
@ -124,7 +124,7 @@ const columns = computed(() => [
|
|||
align: 'left',
|
||||
name: 'balance',
|
||||
label: t('Balance'),
|
||||
format: ({ balance }) => toCurrency(balance),
|
||||
format: ({ row }) => toCurrency(balances[row]?.balance),
|
||||
cardVisible: true,
|
||||
},
|
||||
{
|
||||
|
@ -248,11 +248,8 @@ const showBalancePdf = ({ id }) => {
|
|||
:disable-option="{ card: true }"
|
||||
auto-load
|
||||
>
|
||||
<template #column-balance="{ row }">
|
||||
{{ toCurrency(balances[row]?.balance) }}
|
||||
</template>
|
||||
<template #column-workerFk="{ row }">
|
||||
<span class="link">
|
||||
<span class="link" @click.stop>
|
||||
{{ row.userName }}
|
||||
<WorkerDescriptorProxy :id="row.workerFk" />
|
||||
</span>
|
||||
|
|
Loading…
Reference in New Issue