mirror of
https://github.com/IT4Change/gradido.git
synced 2026-01-20 20:01:31 +00:00
git-subtree-dir: community_server git-subtree-mainline: ff11f6efe35bba180260fe84077bcd94298895c1 git-subtree-split: b6544b9e69fb85d4da100934675323c3e8c8ef67
19 lines
553 B
PHP
19 lines
553 B
PHP
<?php
|
|
|
|
/*
|
|
* To change this license header, choose License Headers in Project Properties.
|
|
* To change this template file, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
$class = '';
|
|
if($number < 0) {
|
|
$class = 'grd-negative-currency';
|
|
}
|
|
|
|
?><?php if(isset($raw) && true == $raw): ?>
|
|
<?= $this->Number->format(intval($number) / 10000.0, ['precision' => 2]) . ' GDD';?>
|
|
<?php else : ?>
|
|
<span class="<?php echo $class;?>">
|
|
<?= $this->Number->format(intval($number) / 10000.0, ['precision' => 2]) . ' GDD';?>
|
|
</span>
|
|
<?php endif; ?>
|