This topic is locked

operations with totals in report V8.1

5/26/2016 2:59:19 PM
PHPRunner General questions
I
imporluz author

I can not operate two daily totals in my report , I want to make a division between the two totals.

HJB 5/26/2016
I
imporluz author 5/26/2016



http://www.asprunner.com/forums/topic/23262-calculating-two-totals-on-list-page/
... above only for inspiration purposes ...


thanks for you answer!!, but

Does not Work , I already tried this option, but i don't know if affect because is a report and also the total is in the group....thanks
$credit = strip_tags($xt->getvar("grouptiempo_totaltotal_sin_descuento_sum"));

$debit = strip_tags($xt->getvar("grouptiempo_totalpiezas_vendidas_sum"));

if ($debit!=0)

$xt->assign("division",$credit/$debit);