0
0
Fork 0

feat: 6942 hashtag in key : value summary

This commit is contained in:
Javi Gallego 2024-03-13 07:50:51 +01:00
parent 252d9e3a50
commit c0a7574cbf
1 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ const vatColumns = ref([
name: 'vat', name: 'vat',
label: 'invoiceIn.summary.sageVat', label: 'invoiceIn.summary.sageVat',
field: (row) => { field: (row) => {
if (row.taxTypeSage) return `${row.taxTypeSage.id}:${row.taxTypeSage.vat}`; if (row.taxTypeSage) return `#${row.taxTypeSage.id} : ${row.taxTypeSage.vat}`;
}, },
format: (value) => value, format: (value) => value,
sortable: true, sortable: true,
@ -66,7 +66,7 @@ const vatColumns = ref([
label: 'invoiceIn.summary.sageTransaction', label: 'invoiceIn.summary.sageTransaction',
field: (row) => { field: (row) => {
if (row.transactionTypeSage) if (row.transactionTypeSage)
return `${row.transactionTypeSage.id}:${row.transactionTypeSage?.transaction}`; return `#${row.transactionTypeSage.id} : ${row.transactionTypeSage?.transaction}`;
}, },
format: (value) => value, format: (value) => value,
sortable: true, sortable: true,