Commit 1c7759c0 authored by Kalinka's avatar Kalinka

Controller/TransactionController.php:

  - fix transaction list
templates/:
  - show warning about runtime
wallet_additions.sql:
  - add temp table to initial stuff
parent e3896404
......@@ -269,12 +269,12 @@ class TransactionController extends AbstractController
$con = $this->entityManager->getConnection();
$stmt = $con->prepare(self::TransactionByAccountId);
$stmt->bindValue(1, $id, ParameterType::INTEGER);
$stmt->bindValue(2, $id, ParameterType::INTEGER);
$stmt->bindValue(3, $id, ParameterType::INTEGER);
$stmt->bindValue(4, $id, ParameterType::INTEGER);
$stmt->bindValue(5, $id, ParameterType::INTEGER);
$stmt->bindValue(6, $id, ParameterType::INTEGER);
$stmt->bindValue(1, $id);
$stmt->bindValue(2, $id);
$stmt->bindValue(3, $id);
$stmt->bindValue(4, $id);
$stmt->bindValue(5, $id);
$stmt->bindValue(6, $id);
$stmt->execute();
$transactions = $stmt->fetchAll();
......
......@@ -49,7 +49,7 @@
</ul>
<div class="tab-content" id="accountTabContent">
<div class="tab-pane fade show active" id="tx" role="tabpanel" aria-labelledby="tx-tab">
<div class="include-html" id="tx-list" include-html="{{ url('transactions_by_accountId', {'id': account.id }) }}">Loading....</div>
<div class="include-html" id="tx-list" include-html="{{ url('transactions_by_accountId', {'id': account.id }) }}">Loading.... <small>large amounts of Transactions may take up to 20s</small></div>
</div>
<div class="tab-pane fade" id="asset" role="tabpanel" aria-labelledby="asset-tab">Asset, to be done</div>
</div>
......
......@@ -61,7 +61,7 @@
</ul>
<div class="tab-content" id="blockTabContent">
<div class="tab-pane fade show active" id="tx" role="tabpanel" aria-labelledby="tx-tab">
<div class="include-html" id="tx-list" include-html="{{ url('transactions_by_blockId', {'id': block.id }) }}">Loading....</div>
<div class="include-html" id="tx-list" include-html="{{ url('transactions_by_blockId', {'id': block.id }) }}">Loading.... <small>large amounts of Transactions may take up to 20s</small></div>
</div>
<div class="tab-pane fade" id="asset" role="tabpanel" aria-labelledby="asset-tab">Asset, to be done</div>
</div>
......
......@@ -153,6 +153,7 @@ CREATE TABLE `mosr` (
`recipient_id` bigint(20) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
CREATE TABLE `ec_account` ( `id` BIGINT(20) NOT NULL , `name` VARCHAR(100) NOT NULL, INDEX `idx` (`id`)) ENGINE = MEMORY;
ALTER TABLE `mo`
ADD KEY `idx` (`recipient_id`,`db_id`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment