mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-19 19:24:03 +00:00
Add expense number at Expenses (#406)
* add expense number at expenses * Re-order expense fields * Rename expense_number migration * Add expense_number to tests --------- Co-authored-by: Darko Gjorgjijoski <dg@darkog.com>
This commit is contained in:
committed by
GitHub
parent
f3e49d3044
commit
3e96297699
@@ -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