Statement import: read a Category column; onboarding counts imported accounts
- A CSV with a Category column (Chase, Amex, Monzo style) now files each row under the matching broke category instead of Other, so budgets suggest per category straight after an import. - Onboarding's bank step counted only linked banks, so after importing a statement it kept sending you back to Link your bank. It now counts imported (manual checking/savings) accounts too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
8374fc325b
commit
af66279940
4 files changed
+57
-9
No files matched your search
@@ -29,7 +29,8 @@ export async function GET() {
|
||||
.or("plaid_category.eq.BANK_FEES_INTEREST_CHARGE,name.ilike.*interest charge*").order("id").range(a, b)),
|
||||
]);
|
||||
|
||||
const own = (accts ?? []).filter((a) => a.type !== "investment" && !a.manual); // linked, not the debts typed in below
|
||||
// Linked or imported from a statement (a manual depository account), not the debts typed in below.
|
||||
const own = (accts ?? []).filter((a) => a.type !== "investment" && (!a.manual || a.type === "depository"));
|
||||
const s = (streams ?? []) as unknown as Stream[];
|
||||
const base = { accounts: own.length };
|
||||
|
||||
|
||||
Reference in new issue
Block a user