mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-21 19:47:48 +00:00
Debug code for transaction view. [skip ci]
This commit is contained in:
@@ -228,7 +228,7 @@ class TransactionController extends Controller
|
|||||||
$what = strtolower($transactionType);
|
$what = strtolower($transactionType);
|
||||||
$subTitle = trans('firefly.' . $what) . ' "' . $journal->description . '"';
|
$subTitle = trans('firefly.' . $what) . ' "' . $journal->description . '"';
|
||||||
|
|
||||||
|
var_dump($transactions);exit;
|
||||||
return view('transactions.show', compact('journal', 'events', 'subTitle', 'what', 'transactions', 'linkTypes', 'links'));
|
return view('transactions.show', compact('journal', 'events', 'subTitle', 'what', 'transactions', 'linkTypes', 'links'));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -347,8 +347,6 @@
|
|||||||
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
|
<h3 class="box-title">{{ 'transactions'|_ }}</h3>
|
||||||
</div>
|
</div>
|
||||||
<div class="box-body no-padding">
|
<div class="box-body no-padding">
|
||||||
{{ dump(transactions) }}
|
|
||||||
{{ dump(transactions|length) }}
|
|
||||||
<table class="table table-bordered table-striped">
|
<table class="table table-bordered table-striped">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
@@ -362,9 +360,7 @@
|
|||||||
</thead>
|
</thead>
|
||||||
<tbody>
|
<tbody>
|
||||||
|
|
||||||
|
{% set maxIdentifier = ((transactions|length) / 2) -1 %}
|
||||||
{% set maxIdentifier = 1 %}
|
|
||||||
{#{% set maxIdentifier = ((transactions|length) / 2) -1 %}#}
|
|
||||||
{% for x in 0..maxIdentifier %}
|
{% for x in 0..maxIdentifier %}
|
||||||
<tr>
|
<tr>
|
||||||
{# loop each transaction in the array.#}
|
{# loop each transaction in the array.#}
|
||||||
|
Reference in New Issue
Block a user