Sortable account list.

This commit is contained in:
James Cole
2021-03-27 10:19:22 +01:00
parent fbed65d464
commit 381b09d68b
50 changed files with 485 additions and 212 deletions

View File

@@ -886,6 +886,7 @@ return [
'create_new_deposit' => 'Create new deposit',
'create_new_transfer' => 'Create new transfer',
'create_new_asset' => 'Create new asset account',
'create_new_liabilities' => 'Create new liability',
'create_new_expense' => 'Create new expense account',
'create_new_revenue' => 'Create new revenue account',
'create_new_piggy_bank' => 'Create new piggy bank',
@@ -1130,6 +1131,7 @@ return [
'interest_calc_monthly' => 'Per month',
'interest_calc_yearly' => 'Per year',
'initial_balance_account' => 'Initial balance account of :account',
'list_options' => 'List options',
// categories:
'new_category' => 'New category',

View File

@@ -6,6 +6,21 @@
<div id="accounts"></div>
{% endblock %}
{% block control %}
<div>
<div class="p-3 control-sidebar-content">
<h5>{{ 'date_range'|_ }}</h5>
<hr class="mb-2">
<div id="calendar"></div>
<hr class="mb-2">
<h5>{{ 'list_options'|_ }}</h5>
<div id="indexOptions"></div>
<hr class="mb-2">
</div>
</div>
{% endblock %}
{% block scripts %}
<script src="v2/js/accounts/index.js" nonce="{{ JS_NONCE }}"></script>
{% endblock %}