mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-27 07:04:10 +00:00
add expense number at expenses
This commit is contained in:
@@ -188,6 +188,10 @@
|
||||
{{ row.data.formatted_expense_date }}
|
||||
</template>
|
||||
|
||||
<template #cell-expense_number="{ row }">
|
||||
{{ row.data.expense_number || '-' }}
|
||||
</template>
|
||||
|
||||
<template #cell-user_name="{ row }">
|
||||
<BaseText
|
||||
:text="row.data.customer ? row.data.customer.name : '-'"
|
||||
@@ -281,6 +285,12 @@ const expenseColumns = computed(() => {
|
||||
thClass: 'extra',
|
||||
tdClass: 'font-medium text-gray-900',
|
||||
},
|
||||
{
|
||||
key: 'expense_number',
|
||||
label: t('expenses.expense_number'),
|
||||
thClass: 'extra',
|
||||
tdClass: 'font-medium text-gray-900',
|
||||
},
|
||||
{
|
||||
key: 'name',
|
||||
label: t('expenses.category'),
|
||||
|
||||
Reference in New Issue
Block a user