Accounts Tree erstellt
This commit is contained in:
@@ -22,7 +22,7 @@ read_buch_tabelle <- function(conn, trans_id = NULL){
|
||||
left_join(accounts, by = c("account_id" = "id")) |>
|
||||
left_join(projects, by = c("project_id" = "id")) |>
|
||||
left_join(attachment_counts, by = "entry_id") |>
|
||||
select(id, valuta, account_name, projektname, display_name, amount, entry_id, n_attachments) |>
|
||||
select(id, valuta, account_name, projektname, display_name, amount, entry_id, n_attachments, account_id) |>
|
||||
collect() %>%
|
||||
mutate(
|
||||
saldo = 0,
|
||||
@@ -43,6 +43,8 @@ coldef_entries_tabelle <-
|
||||
account_name = colDef(name = "Kontoname", width = 200),
|
||||
projektname = colDef(name = "Projektname", width = 150),
|
||||
display_name = colDef(name = "Kontakt", width = 250),
|
||||
account_id = colDef(show = FALSE),
|
||||
entry_id = colDef(show = FALSE),
|
||||
amount = colDef(name = "Betrag", width = 120,
|
||||
format = colFormat(prefix = "", separators = TRUE, digits = 2),
|
||||
style = function(value) {
|
||||
|
||||
Reference in New Issue
Block a user