I'm new to Koolreport, I'm working with the Card component, but it doesn't appear in the report view. In the console it appears to be there, but it isn't, this image would better explain what I'm trying to describe:
I haven't made any changes to the CSS of the Card component or anything like that, I'm just copying what the documentation says:
<?php
$total = 0;
foreach ($this->dataStore("resources") as $obj) {
$total += $obj['amount'];
}
Card::create(array(
"value" => $total,
"title" => "Total",
"cssClass" => array(
"card" => "bg-info",
"title" => "text-white",
"value" => "text-white"
)
))
?>
I don't really know what is the problem. Any help is appreciated.