- Pastors: churchRegistered boolean; the registration code field now shows
only when the church is registered (admin condition), and is cleared when
the flag is turned off
- Frontend modal: "Iglesia registrada" toggle reveals a conditional
"Código de registro" input; two new toggleable table columns
- Search: country is stored as an ISO code, so a country typed by name (e.g.
"venezuela", accent-insensitive) now resolves to its code(s) and matches
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- Home header shows a running sum of impacted people across all matching
records (respects the current search filter), next to the record count
- Letters can be deleted from the table (trash button next to Download),
which unlinks the pastor and removes the upload doc so a new file can be
uploaded in its place
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Collection:
- New `place` text field on Pastors
Frontend table:
- Show church name, place, state, and impacted people columns
- Column-visibility toggle ("Columnas" dropdown) to show/hide any column
- Replace "Editar" text button with an edit icon
- Create/edit modal now covers church, place, and impacted people too
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- page.tsx: type the search filter as Where
- PastorsTable.tsx: narrow action result before setError
- seed.ts: tag ids are numbers on SQLite
- ecosystem: PORT 3111
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Runs `next start` under PM2 (fork mode, autorestart, 1G memory cap).
Config is .cjs because the package is ESM.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>