RVRNEXT-7 add link for transactions

This commit is contained in:
Bence Pőcze 2023-05-01 19:32:35 +02:00
parent 3e6514a2e5
commit 5526a55145
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -46,7 +46,8 @@
$mainCurrencyRoundDigits = $community->getMainCurrency()->getRoundDigits();
?>
<h3 class="marginBottom">Finances</h3>
<table class="fullWidth">
<a href="<?= Container::$routeCollection->getRoute('community.transactions')->generateLink(['communityId' => $community->getId()]) ?>">Transactions</a>
<table class="fullWidth marginTop">
<tr>
<td>You owe</td>
<td style="text-align: right; color: red;"><?= number_format(0, $mainCurrencyRoundDigits) ?> <?= $mainCurrencyCode ?></td>