I figured out a solution for the loop...
i created 2 vars on my listform_actions.ini.php file with the variables I wanted:
Code:
$app->tpl->setVar('total_comissao', $valor);
$app->tpl->setVar('total_nao_comissao', $valor2);
And it worked!
Regarding to the data, is it possible to use my convert code:
Code:
$tempData = explode("-", $this->dataRecord['data_cadastro']);
$this->dataRecord['data_cadastro'] = $tempData[2]."/".$tempData[1]."/".$tempData[0];
inside the onShow() method?
Recent comments
8 hours 7 min ago
17 hours 35 min ago
18 hours 24 min ago
21 hours 58 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 4 hours ago
1 day 14 hours ago
1 day 19 hours ago
1 day 21 hours ago