Hello everyone,
I am creating some cards in my report but I thounsandSeparator is not working well. I am getting a format with commas instead of points . Example: "58,000,999€"
Is something wrong? Is it a bug? I am using Core 4.7.1 + Koolreport pro, under Laravel and composer.
See the code below. Thanks.
<?php
echo "<h6>".$this->dataStore("amount")->sum("Amount")."</h6>";
Card::create(array(
"value"=>($this->dataStore("amount")->sum("Amount")),
"title"=>"Sales Partners ".date("Y"),
"format"=>array(
"value"=>array(
"decimals"=>2,
"thounsandSeparator"=>".",
"decimalPoint"=>",",
"suffix"=>"€"
),
"indicator"=>array(
"suffix"=>"",
"thounsandSeparator"=>".",
"decimalPoint"=>",",
"suffix"=>"€"
)
),
"cssClass"=>array(
"card"=>"bg-info",
"title"=>"text-white",
"value"=>"text-white"
)
));
?>