diff --git a/static/js/index.js b/static/js/index.js index 418ec41..3905bf3 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1707,10 +1707,6 @@ 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 0de0e71..01de17a 100644 --- a/templates/libra/index.html +++ b/templates/libra/index.html @@ -497,10 +497,7 @@ diff --git a/views_api.py b/views_api.py index 90aabf1..d31f881 100644 --- a/views_api.py +++ b/views_api.py @@ -486,6 +486,10 @@ 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", {})