$dataVisible = $columnsDataVisible[$key5]; $cellClasses = 'subtotal_value subtotal_cell report_value report_cell subtotal_value_' . $dataType . ' subtotal_cell_' . $dataType . ' report_value_' . $dataType . ' report_cell_' . $dataType; $cellClasses .= $dataVisible == 'html' ? ' subtotalCellHidden' : ''; $detailViewHttpFile .= '<td class="' . $cellClasses . '">' . $item5 . '</td>'; } $detailViewHttpFile .= '</tr> </table></td></tr>'; } // Subtotals end $detailViewHttpFile .= '</tbody> </table>'; $detailViewHttpFile .= '</div>'; } if (!$hasNoPagination && in_array($displayPagination, array('bottom', 'all'))) { $detailViewHttpFile .= '<table class="list view"><tbody>'; $detailViewHttpFile .= asol_ReportsGenerationFunctions::getReportDetailPagination($report_data['record'], $columnsCount, $externalCall, $getLibraries, $override_entries, $isDashlet, $dashletId, $data['num_pages'], $data['num_pages_label'], $data['page_number'], $data['page_number_label'], $data['total_entries'], $report_data['sort_field'], $initialSortDirection, $report_data['sort_index'], $vardefFilters); $detailViewHttpFile .= '</tbody></table>'; } } // Totals beginning if ($displayTotals) { if (!$isDashlet) { $detailViewHttpFile .= ' <div class="list view"> <h4>' . $mod_strings['LBL_REPORT_TOTALS'] . '</h4> <table id="totalTable">'; } else { $detailViewHttpFile .= ' <div> <table id="totalTable" class="list view">'; }