This commit is contained in:
James Cole
2017-12-30 21:04:04 +01:00
parent 6d9baaa499
commit d9dd00eb39
10 changed files with 77 additions and 3 deletions

View File

@@ -44,6 +44,7 @@
{{ ExpandedForm.select('accountRole', roles,null,{'helpText' : 'asset_account_role_help'|_}) }}
{{ ExpandedForm.nonSelectableBalance('virtualBalance') }}
{% endif %}
{{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}
</div>
</div>

View File

@@ -48,6 +48,7 @@
{{ ExpandedForm.nonSelectableBalance('virtualBalance',null, {'currency' : currency }) }}
{% endif %}
{{ ExpandedForm.textarea('notes',null,{helpText: trans('firefly.field_supports_markdown')}) }}
{{ ExpandedForm.checkbox('active','1') }}
</div>
</div>

View File

@@ -70,6 +70,19 @@
</div>
</div>
</div>
{% if account.notes.count == 1 %}
<div class="row">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">{{ 'notes'|_ }}</h3>
</div>
<div class="box-body">
{{ account.notes.first.text|markdown }}
</div>
</div>
</div>
{% endif %}
{% if periods.count > 0 %}
<div class="row">
<div class="col-lg-offset-10 col-lg-2 col-md-offset-8 col-md-4 col-sm-12 col-xs-12">