Select an association.
; + if (companyError || !companyId) return{companyError || "Accounting setup is not ready."}
; + + const dueCount = (templates as any[]).filter((t) => t.active && t.next_run_date <= todayISO()).length; + + return ( +Templates auto-generate nightly; {dueCount > 0 ? `${dueCount} due now.` : "nothing due right now."}
+