Typing opening/closing balance AFTER extraction (e.g. the user forgot to fill it in before clicking Extract) never did anything on its own - the fields were only ever read by some OTHER trigger (a row Save, or Download). Confirmed this gap predates the Vue rewrite - the original vanilla-JS version had the identical behavior. Adds a "Recheck Balance" button (TransactionsTable.vue) that re-runs the same recheck-only (no re-extraction) call a row Save already makes, using whatever's currently in the balance fields - an explicit, deliberate trigger rather than auto-firing on blur, matching the existing per-row Save pattern (edits/entries only take effect when confirmed). Positioned at the row's own right edge, aligned under the Hide/Show Source Doc toggle above it; drops below the closing-balance field at mobile widths (a new 640px breakpoint, separate from the 860px one the overall layout already used). Verified end-to-end against the real backend: uploaded a statement with no balance supplied (statement_balance: not_available), then called /api/recheck with balances added afterward - the check correctly recalculated and reported the result, the same request shape and endpoint the new button uses. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| .vscode | ||
| public | ||
| src | ||
| .gitignore | ||
| README.md | ||
| index.html | ||
| package-lock.json | ||
| package.json | ||
| vite.config.js | ||
README.md
Vue 3 + Vite
This template should help get you started developing with Vue 3 in Vite. The template uses Vue 3 <script setup> SFCs, check out the script setup docs to learn more.
Learn more about IDE Support for Vue in the Vue Docs Scaling up Guide.