echo $data['l10n']->get('files'); ?> </strong></p> <?php echo org_openpsa_helpers::render_fileinfo($invoice, 'files'); ?> <?php } if ($view['pdf_file'] != "") { ?> <p><strong><?php echo $data['l10n']->get('pdf file'); ?> </strong></p> <?php echo org_openpsa_helpers::render_fileinfo($invoice, 'pdf_file'); ?> <?php } // Display invoiced hours and tasks if (isset($data['sorted_reports']) && count($data['sorted_reports']['reports']) > 0) { $grid_id = 'invoice_' . $invoice->number . '_hours_grid'; $guids = array(); $rows = array(); foreach ($data['sorted_reports']['reports'] as $report) { $row = array(); $guids[] = $report->guid; try { $task = org_openpsa_projects_task_dba::get_cached($report->task); $reporter = org_openpsa_contacts_person_dba::get_cached($report->person); } catch (midcom_error $e) {