T
|
thesofa 6/24/2008 |
i've a list with two totals selected in tab "Fields orders and totals": "entrata" and "uscita". i want display also "entrata"-"uscita".
|
J
|
Jane 6/25/2008 |
Hi, $var1 = $smarty->get_template_vars("showtotal_entrata"); $var2 = $smarty->get_template_vars("showtotal_uscita"); $var = $var1-$var2+0; $smarty->assign("diff_entrata_uscita",$var); |
A
|
a.daniello author 7/1/2008 |
Hi, you can add another variable in HTML mode on the Visual Editor tab. For example: {$diff_entrata_uscita} And then calculate this variable in the List page: Before display event:
|
A
|
a.daniello author 7/1/2008 |
Jane, |