diff --git a/static/js/index.js b/static/js/index.js index 7c01c07..1f6ccb9 100644 --- a/static/js/index.js +++ b/static/js/index.js @@ -1642,6 +1642,9 @@ window.app = Vue.createApp({ formatSats(amount) { return new Intl.NumberFormat().format(amount) }, + isIncomeEntry(entry) { + return Array.isArray(entry.tags) && entry.tags.includes('income-entry') + }, formatFiat(amount, currency) { return new Intl.NumberFormat('en-US', { style: 'currency', diff --git a/templates/libra/index.html b/templates/libra/index.html index 8641fa4..04e7688 100644 --- a/templates/libra/index.html +++ b/templates/libra/index.html @@ -75,12 +75,13 @@
Pending Approvals
- - - Pending approval - - + + + {% raw %}{{ entry.description }}{% endraw %} {% raw %}{{ formatDate(entry.entry_date) }}{% endraw %}