diff --git a/public/include/pages/account/transactions.inc.php b/public/include/pages/account/transactions.inc.php index 7934539d..afe405ac 100644 --- a/public/include/pages/account/transactions.inc.php +++ b/public/include/pages/account/transactions.inc.php @@ -7,10 +7,7 @@ if ($user->isAuthenticated()) { $aTransactions = $transaction->getTransactions($start, @$_REQUEST['filter'], $iLimit, $_SESSION['USERDATA']['id']); $aTransactionTypes = $transaction->getTypes(); if (!$aTransactions) $_SESSION['POPUP'][] = array('CONTENT' => 'Could not find any transaction', 'TYPE' => 'alert alert-danger'); - if (!$setting->getValue('disable_transactionsummary')) { - $aTransactionSummary = $transaction->getTransactionSummary($_SESSION['USERDATA']['id']); - $smarty->assign('SUMMARY', $aTransactionSummary); - } + $smarty->assign('LIMIT', $iLimit); $smarty->assign('TRANSACTIONS', $aTransactions); $smarty->assign('TRANSACTIONTYPES', $aTransactionTypes); diff --git a/public/templates/bootstrap/account/transactions/default.tpl b/public/templates/bootstrap/account/transactions/default.tpl index ecbd8dbf..d3a3f20c 100644 --- a/public/templates/bootstrap/account/transactions/default.tpl +++ b/public/templates/bootstrap/account/transactions/default.tpl @@ -1,35 +1,3 @@ -{if $DISABLE_TRANSACTIONSUMMARY|default:"0" != 1} -
-
-
-
- Transaction Summary -
-
-
- - - - {foreach $SUMMARY as $type=>$total} - - {/foreach} - - - - - {foreach $SUMMARY as $type=>$total} - - {/foreach} - - -
{$type}
{$total|number_format:"8"}
-
-
-
-
-
-{/if} -