to print the spend time on the tickets you need to modified this file class.pdf.php
I dont's use the SLA and i remplace this fileld on this report.
near line 216 rempleace this original code:
$this->SetFont('Arial', 'B', 11); $this->WriteCell($l, 7, 'SLA Plan', 1, 0, 'L', true); $this->SetFont(''); $sla = $ticket->getSLA(); $this->WriteCell($c, 7, $sla?$sla->getName():' -- ', 1, 0, 'L', true);
with this code:
$this->SetFont('Arial', 'B', 11); $this->WriteCell($l, 7, 'Time Spend', 1, 0, 'L', true); $this->SetFont(''); $the_time_spent = $ticket->getTimeSpent(); $this->WriteCell($c, 7, $the_time_spent, 1, 0, 'L', true);
and you can print tickets with the spend time.