|
|
@@ -1399,6 +1399,10 @@ class Route_ViewTableAjax extends RouteBase {
|
|
|
die("Nieobsługiwany format danych.");
|
|
|
}
|
|
|
function _exportToHTML($acl, $items, $toExportFields, $format = 'html') {
|
|
|
+ $labels = array();
|
|
|
+ foreach ($toExportFields as $fieldName) {
|
|
|
+ $labels[ $fieldName ] = $acl->getFieldLabel($fieldName);
|
|
|
+ }
|
|
|
UI::gora();
|
|
|
echo UI::h('table', ['class'=>'table table-bordered table-hover'], [
|
|
|
UI::h('thead', [], [
|