Link Current Year OCI balance sheet account to income statement
This commit is contained in:
parent
baded7b47a
commit
dc2c474b1b
@ -23,7 +23,9 @@
|
|||||||
<td style="padding-left: calc(2px + {{ level }}em);">
|
<td style="padding-left: calc(2px + {{ level }}em);">
|
||||||
{% if balance_sheets|length == 1 %}
|
{% if balance_sheets|length == 1 %}
|
||||||
{% if account.name == config['current_year_earnings'] %}
|
{% if account.name == config['current_year_earnings'] %}
|
||||||
<a href="/pandl?{{ {'date_end': balance_sheets[0].date.strftime('%Y-%m-%d'), 'date_beg': balance_sheets[0].pstart.strftime('%Y-%m-%d'), 'compare': '0', 'cash': 'on' if cash else '', 'scope': 'both'}|urlencode }}">
|
<a href="/pandl?{{ {'date_end': balance_sheets[0].date.strftime('%Y-%m-%d'), 'date_beg': balance_sheets[0].pstart.strftime('%Y-%m-%d'), 'compare': '0', 'cash': 'on' if cash else '', 'scope': 'pandl'}|urlencode }}">
|
||||||
|
{% elif account.name == config['current_year_oci'] %}
|
||||||
|
<a href="/pandl?{{ {'date_end': balance_sheets[0].date.strftime('%Y-%m-%d'), 'date_beg': balance_sheets[0].pstart.strftime('%Y-%m-%d'), 'compare': '0', 'cash': 'on' if cash else '', 'scope': 'oci'}|urlencode }}">
|
||||||
{% else %}
|
{% else %}
|
||||||
<a href="/transactions?{{ {'date_end': balance_sheets[0].date.strftime('%Y-%m-%d'), 'date_beg': balance_sheets[0].pstart.strftime('%Y-%m-%d'), 'account': account.name, 'cash': 'on' if cash else ''}|urlencode }}">
|
<a href="/transactions?{{ {'date_end': balance_sheets[0].date.strftime('%Y-%m-%d'), 'date_beg': balance_sheets[0].pstart.strftime('%Y-%m-%d'), 'account': account.name, 'cash': 'on' if cash else ''}|urlencode }}">
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Reference in New Issue
Block a user