Saldo Berechnung angegfangen

This commit is contained in:
2026-05-04 12:53:13 +02:00
parent 12ef7693d5
commit 6ae86577aa
3 changed files with 19 additions and 3 deletions
+13
View File
@@ -0,0 +1,13 @@
num_inp <- function(id, betrag, ro = FALSE){
autonumericInput(
inputId = id,
label = NULL,
width = "100%",
value = betrag,
currencySymbol = "",
currencySymbolPlacement = "s",
align = "right",
readOnly = ro,
style = "height: 15px !important; padding: 1px 1px;"
)
}
+6 -1
View File
@@ -7,6 +7,11 @@ buchungenUI <- function(id) {
h3("Hauptbuchungen"), h3("Hauptbuchungen"),
fluidRow( fluidRow(
column(8, reactableOutput(ns("buchungen_table")), column(8, reactableOutput(ns("buchungen_table")),
num_inp(ns("saldo"), 0, ro = T),
div(
style = "display: flex; justify-content: flex-end; margin-top: 5px;",
),
hr(), hr(),
h3("Details / Gegenbuchungen"), h3("Details / Gegenbuchungen"),
uiOutput(ns("details_table")) , uiOutput(ns("details_table")) ,
@@ -158,7 +163,7 @@ buchungenServer <- function(id, conn, r_global) {
}) })
# ── Anhänge ---- ## ** Anhänge ----
output$attachments_ui <- renderUI({ output$attachments_ui <- renderUI({
req(sel_details()) req(sel_details())
entry_id <- entry_id <-
-2
View File
@@ -38,5 +38,3 @@
margin-bottom: 2px !important; margin-bottom: 2px !important;
} }