Debug code for transaction view. [skip ci]

This commit is contained in:
James Cole
2018-04-16 19:24:46 +02:00
parent 147e04ecd2
commit ecdc00dcb7
2 changed files with 2 additions and 6 deletions

View File

@@ -228,7 +228,7 @@ class TransactionController extends Controller
$what = strtolower($transactionType);
$subTitle = trans('firefly.' . $what) . ' "' . $journal->description . '"';
var_dump($transactions);exit;
return view('transactions.show', compact('journal', 'events', 'subTitle', 'what', 'transactions', 'linkTypes', 'links'));
}

View File

@@ -347,8 +347,6 @@
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
</div>
<div class="box-body no-padding">
{{ dump(transactions) }}
{{ dump(transactions|length) }}
<table class="table table-bordered table-striped">
<thead>
<tr>
@@ -362,9 +360,7 @@
</thead>
<tbody>
{% set maxIdentifier = 1 %}
{#{% set maxIdentifier = ((transactions|length) / 2) -1 %}#}
{% set maxIdentifier = ((transactions|length) / 2) -1 %}
{% for x in 0..maxIdentifier %}
<tr>
{# loop each transaction in the array.#}