release v2.0.0 #4

Merged
crimsen merged 481 commits from develop into master 2024-01-18 15:15:08 +00:00
2 changed files with 15 additions and 1 deletions
Showing only changes of commit 3283d8a862 - Show all commits

View File

@ -116,6 +116,20 @@ export default defineComponent({
sortable: true,
format: (val: Date) => formatDateTime(new Date(val), true, true, true)
},
{
name: 'type',
label: 'Type',
format: (_: undefined, row: FG.Transaction) => {
if (row.sender_id == null) return 'Gutschrift';
else {
if (row.receiver_id == null) return 'Angeschrieben';
else {
if (row.receiver_id === store.state.user.currentUser?.userid) return 'Bekommen von X';
else return 'Gesendet an X';
}
}
}
},
{
name: 'text',
label: 'Text',

View File

@ -12,7 +12,7 @@ const mainRoutes: FG_Plugin.PluginRouteConfig[] = [
children: [
{
title: 'Übersicht',
icon: 'mdi-cash-plus',
icon: 'mdi-cash-check',
path: 'overview',
name: 'balance-view',
meta: { permissions: [permissions.SHOW] },