Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Hide reconcile button #1032
James Cole7158dfe29a3c
diff --git a/resources/views/accounts/show.twig b/resources/views/accounts/show.twigindex 194d232703..4d9f0a5b72 100644--- a/resources/views/accounts/show.twig+++ b/resources/views/accounts/show.twig@@ -85,7 +85,12 @@<h3 class="box-title">{{ 'transactions'|_ }}</h3></div><div class="box-body">- {% include 'list.journals' with {sorting:true, hideBills:true, hideBudgets: true, hideCategories: true, showReconcile: true} %}+ {% if account.accountType.type == 'Asset account' %}+ {% set showReconcile = true %}+ {% else %}+ {% set showReconcile = false %}+ {% endif %}+ {% include 'list.journals' with {sorting:true, hideBills:true, hideBudgets: true, hideCategories: true, showReconcile: showReconcile} %}{% if periods.count > 0 %}<p><i class="fa fa-calendar"></i>diff --git a/resources/views/list/accounts.twig b/resources/views/list/accounts.twigindex cea333c25d..61b1295141 100644--- a/resources/views/list/accounts.twig+++ b/resources/views/list/accounts.twig@@ -10,7 +10,7 @@<th data-defaultsign="_19">{{ trans('list.currentBalance') }}</th><th class="hidden-sm hidden-xs">{{ trans('list.active') }}</th><th data-defaultsign="month" class="hidden-sm hidden-xs hidden-md">{{ trans('list.lastActivity') }}</th>- <th data-defaultsign="_19"+ <th data-defaultsign="_19" style="width:15%;"class="hidden-sm hidden-xs hidden-md">{{ trans('list.balanceDiff', {'start' : Session.get('start').formatLocalized(monthAndDayFormat),'end' : Session.get('end').formatLocalized(monthAndDayFormat)}) }}</th></tr></thead>