Manuelle Buchungen um DATEV-Steuerschlüssel und getrennte Soll/Haben-Auswahl erweitern

This commit is contained in:
2026-04-23 17:24:58 +02:00
parent 743bf0660c
commit 0284ea8726
6 changed files with 261 additions and 127 deletions

View File

@@ -48,6 +48,7 @@ export default async function bankingRoutes(server: FastifyInstance) {
next.contraCustomer = null
next.contraVendor = null
next.contraOwnaccount = null
next.datevTaxKey = next.datevTaxKey ? String(next.datevTaxKey).trim() : null
return { data: next }
}
@@ -71,6 +72,7 @@ export default async function bankingRoutes(server: FastifyInstance) {
next.amount = Math.abs(Number(next.amount))
next.bankstatement = null
next.manualBookingDate = dayjs(next.manualBookingDate).format("YYYY-MM-DD")
next.datevTaxKey = next.datevTaxKey ? String(next.datevTaxKey).trim() : null
return { data: next }
}