63 | 64 | Total 65 | Cleared 66 | Working 67 |
68 |75 | 76 | {{ account_name(ledger, account, last_segment=True) }} 77 | 78 | {% for type in ("total", "cleared", "working") %} 79 | {% set balance = (acct[type]|cost_or_value(end_date)).amounts()|list %} 80 | {% set balance_children = (acct.children[type]|cost_or_value(end_date)).amounts() %} 81 | 82 | {% for amount in balance %} 83 | {% set num = amount.number %} 84 | 85 | {{ amount.number | format_currency(amount.currency) }} 86 | {{ amount.currency if amount.currency != currency else "" }} 87 | 88 | {% endfor %} 89 | {% for amount in extension.show_if_zero(balance_children) %} 90 | {% set num = amount.number %} 91 | 92 | {{ amount.number | format_currency(amount.currency, show_if_zero=True) }} 93 | {{ amount.currency if amount.currency != currency else "" }} 94 | 95 | {% endfor %} 96 | 97 | {% endfor %} 98 |
99 | {% if children %} 100 |121 | 122 | Budgeted 123 | Spent 124 | Available 125 |
126 |132 | 135 | {% if extension._has_children(aname) %}{% endif %} 136 | 137 | {{ extension._name(aname) }} 138 | 139 | 140 | {% set budgeteds = extension._row(brows, aname) %} 141 | {% set spents = extension._row(srows, aname) %} 142 | {% set availables = extension._row(vrows, aname) %} 143 | 144 | {% for budgeted in budgeteds %} 145 | 146 | 147 | {{ extension.format_amount(budgeted) }} 148 | 149 | 150 | {% endfor %} 151 | {% for budgeted in extension._row_children(brows, aname) %} 152 | 153 | 154 | {{ extension.format_amount(budgeted, show_if_zero=True) }} 155 | 156 | 157 | {% endfor %} 158 | 159 | 160 | {% for spent in spents %} 161 | 162 | 163 | {{ extension.format_amount(spent) }} 164 | 165 | 166 | {% endfor %} 167 | {% for spent in extension._row_children(srows, aname) %} 168 | 169 | 170 | {{ extension.format_amount(spent, show_if_zero=True) }} 171 | 172 | 173 | {% endfor %} 174 | 175 | 176 | {% for available in availables %} 177 | 178 | 179 | {{ extension.format_amount(available) }} 180 | 181 | 182 | {% endfor %} 183 | {% for available in extension._row_children(vrows, aname) %} 184 | 185 | {{ extension.format_amount(available, show_if_zero=True) }} 186 | 187 | {% endfor %} 188 | 189 |
190 |129 | {{ _('Date') }} 130 | {{ _('F') }} 131 | {{ _('Target') }} 132 | {{ _('Payee/Narration') }} 133 | {{ _('Position') }} 134 | 135 | 136 | {% if show_change_and_balance %} 137 | {{ _('Change') }} 138 | {{ _('Balance') }} 139 | {% endif %} 140 |
141 |