mirror of
https://github.com/renee-png/acmcc.git
synced 2026-06-21 09:50:01 +00:00
Accounting: prior-period reconcile items, void txns, unified report filters, accrual-only
1. Reconciliation now shows ALL outstanding (unreconciled) items on/before the statement date, including ones from prior periods — removed the prior-recon date floor. Finalized items still drop off (they carry a reconciliation_id). 2. Void transactions in Banking and Reconciliation. New accounting.transactions .voided flag (+ voided_at/by); voided rows stay visible (strikethrough + VOID badge) but are excluded from the running balance, register totals, cached account balance, and reconciliation. post_transaction_gl reverses the GL for gl_managed companies; un-void supported from Banking. 3. Unified report filters: the single Period bar on the Reports page now drives every report. General Ledger, Trial Balance, AR Aging (Property), Pre-Paid Homeowners, Cash Disbursement, and Reserve Fund no longer have their own date pickers — they consume the shared from/to (range) or to (as-of). 4. Accrual only: removed the cash-basis toggle from Trial Balance and General Ledger (the data was always accrual GL anyway; the cash label was misleading). All income/expense reports recognize on billed/issue date. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -657,22 +657,22 @@ export default function AccountingReportsPage({ association }: { association?: {
|
||||
<IncomeStatementReport companyId={cid} companyName={associationName ?? "Company"} from={from} to={to} currency={cur} logoUrl={logoUrl} />
|
||||
)}
|
||||
{active === "trial-balance" && (
|
||||
<TrialBalanceReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} />
|
||||
<TrialBalanceReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} to={to} />
|
||||
)}
|
||||
{active === "general-ledger" && (
|
||||
<GeneralLedgerReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} initialAccountId={drillAccountId} />
|
||||
<GeneralLedgerReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} initialAccountId={drillAccountId} from={from} to={to} />
|
||||
)}
|
||||
{active === "reserve-fund" && (
|
||||
<ReserveFundReport companyId={cid} companyName={associationName ?? ""} fiscalYearStart={fiscalYearStart} logoUrl={logoUrl} />
|
||||
<ReserveFundReport companyId={cid} companyName={associationName ?? ""} fiscalYearStart={fiscalYearStart} logoUrl={logoUrl} to={to} />
|
||||
)}
|
||||
{active === "ar-aging-property" && (
|
||||
<ARAgingPropertyReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} />
|
||||
<ARAgingPropertyReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} to={to} />
|
||||
)}
|
||||
{active === "prepaid-homeowners" && (
|
||||
<PrepaidHomeownersReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} />
|
||||
<PrepaidHomeownersReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} to={to} />
|
||||
)}
|
||||
{active === "cash-disbursement" && (
|
||||
<CashDisbursementReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} />
|
||||
<CashDisbursementReport companyId={cid} companyName={associationName ?? ""} logoUrl={logoUrl} from={from} to={to} />
|
||||
)}
|
||||
{active === "reconciliation" && (
|
||||
<ReportSheet title="Reconciliation Checks" companyName={associationName ?? "Company"} period={rangeLabel} logoUrl={logoUrl}>
|
||||
|
||||
Reference in New Issue
Block a user