View Single Post
  #31  
Old 1st October 2010, 17:13
bruno_floyd bruno_floyd is offline
Member
 
Join Date: Aug 2010
Posts: 73
Thanks: 1
Thanked 2 Times in 2 Posts
Default

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?

Last edited by bruno_floyd; 1st October 2010 at 17:16.
Reply With Quote
Sponsored Links