mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge pull request #795 from gradido/community_fix_gdt_event_view
fix old frontend wrong display of event gdt
This commit is contained in:
commit
cae9de0f2b
@ -47,8 +47,12 @@ $this->assign('header', $header);
|
||||
<div class="cell c3"><?= new FrozenTime($entry['date']) ?></div>
|
||||
<div class="cell c0"><?= h($entry['comment']) ?></div>
|
||||
<div class="cell c3">
|
||||
<?php if(intval($entry['gdt_entry_type_id']) == 7) : ?>
|
||||
<?= $this->element('printGDT', ['number' => $entry['amount']*100.0]); ?>
|
||||
<?php else : ?>
|
||||
<?= $this->element('printEuro', ['number' => $entry['amount']]); ?>
|
||||
<?php if($entry['amount2']) echo ' + ' . $this->element('printEuro', ['number' => $entry['amount2']]) ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="cell c2">
|
||||
<?= $this->Number->format($entry['factor']) ?>
|
||||
@ -89,8 +93,12 @@ $this->assign('header', $header);
|
||||
<!--<div class="cell c0"><?= h($elopageTransaction['email']) ?></div>-->
|
||||
<div class="cell c3"><?= new FrozenTime($gdtEntry['date']) ?></div>
|
||||
<div class="cell c3">
|
||||
<?= $this->element('printEuro', ['number' => $gdtEntry['amount']]) ?>
|
||||
<?php if(intval($gdtEntry['gdt_entry_type_id']) == 7) : ?>
|
||||
<?= $this->element('printGDT', ['number' => $gdtEntry['amount']*100.0]); ?>
|
||||
<?php else : ?>
|
||||
<?= $this->element('printEuro', ['number' => $gdtEntry['amount']]); ?>
|
||||
<?php if($gdtEntry['amount2']) echo ' + ' . $this->element('printEuro', ['number' => $gdtEntry['amount2']]) ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<div class="cell c2">
|
||||
<?= $this->Number->format($gdtEntry['factor']) ?>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user