mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Merge branch 'master' of ssh://**REDACTED**/~/_cakephp/gradido_single_node
This commit is contained in:
commit
422d9eaa9a
18
src/Template/Element/printGradido.ctp
Normal file
18
src/Template/Element/printGradido.ctp
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
<?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 = 'grd-negative-currency';
|
||||||
|
$class = '';
|
||||||
|
//$title = '' . $number;
|
||||||
|
/*if($number == 0) $class = "grd-default-currency";
|
||||||
|
else if($number > 0) $class = "grd-positive-currency";*/
|
||||||
|
|
||||||
|
?>
|
||||||
|
<span class="<?php echo $class;?>">
|
||||||
|
<?= $this->Number->format(intval($number) / 10000.0, ['precision' => 2]) . ' grd';?>
|
||||||
|
</span>
|
||||||
Loading…
x
Reference in New Issue
Block a user