From 9804698572c82d5518e580e9840337ab57931f2d Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Wed, 6 May 2026 16:06:44 -0500 Subject: [PATCH] cleared column removed --- public/js/views/accounting-view.js | 10 ---------- src/services/accounting-service.js | 3 +-- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/public/js/views/accounting-view.js b/public/js/views/accounting-view.js index cdb3f88..4c81578 100644 --- a/public/js/views/accounting-view.js +++ b/public/js/views/accounting-view.js @@ -324,7 +324,6 @@ function renderRegisterTable(result) { Payee Split / Category Memo - ✓ Amount @@ -338,14 +337,6 @@ function renderRegisterRow(r) { const isSplit = r.splitAccount === '-Split-'; const splitCellContent = isSplit ? renderSplitCell(r) : escapeHtml(r.splitAccount || ''); - // Punkt 3: Cleared-Status anzeigen mit Farbe - let clrBadge = ''; - if (r.clearedStatus === 'R') { - clrBadge = `R`; - } else if (r.clearedStatus === 'C') { - clrBadge = `C`; - } - return ` ${escapeHtml(r.date || '')} @@ -354,7 +345,6 @@ function renderRegisterRow(r) { ${escapeHtml(r.payee || '')} ${splitCellContent} ${escapeHtml(r.memo || '')} - ${clrBadge} ${r.amount != null ? fmtMoney(r.amount) : ''} diff --git a/src/services/accounting-service.js b/src/services/accounting-service.js index 1b53757..1774e5b 100644 --- a/src/services/accounting-service.js +++ b/src/services/accounting-service.js @@ -122,7 +122,6 @@ async function getRegister({ accountId, startDate, endDate, includeSplits = true if (startDate) params.set('start_date', startDate); if (endDate) params.set('end_date', endDate); params.set('source_account', String(accountId)); - params.set('columns', 'tx_date,txn_type,doc_num,name,memo,account_name,split_acc,subt_nat_amount,cleared_status'); // ← NEU params.set('minorversion', QBO_MINOR_VERSION); const url = `${baseUrl}/v3/company/${companyId}/reports/TransactionList?${params.toString()}`; @@ -133,7 +132,7 @@ async function getRegister({ accountId, startDate, endDate, includeSplits = true const result = normalizeTransactionListReport(data); - // ── NEU: Split-Details nachladen ── + // Nur Split-Details nachladen (für -Split- Zeilen) — Cleared-Status nicht if (includeSplits) { const splitRows = result.rows.filter(r => r.splitAccount === '-Split-' && r.qboId