diff --git a/static/js/index.js b/static/js/index.js index 3905bf3..418ec41 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1707,6 +1707,10 @@ window.app = Vue.createApp({ if (entry.tags && entry.tags.includes('equity-contribution')) return true if (entry.account && entry.account.includes('Equity')) return true return false + }, + isVoided(entry) { + // Voided entries keep '!' flag and carry a 'voided' tag (libra convention). + return Array.isArray(entry.tags) && entry.tags.includes('voided') } }, async created() { diff --git a/templates/libra/index.html b/templates/libra/index.html index 01de17a..0de0e71 100644 --- a/templates/libra/index.html +++ b/templates/libra/index.html @@ -497,7 +497,10 @@ diff --git a/views_api.py b/views_api.py index eab2617..2f41cec 100644 --- a/views_api.py +++ b/views_api.py @@ -487,10 +487,6 @@ async def api_get_user_entries( if e.get("flag") in _SYNTHETIC_FLAGS: continue - # Skip voided transactions - if "voided" in e.get("tags", []): - continue - # Extract user ID from metadata or account names user_id_match = None entry_meta = e.get("meta", {})