Правка для формирования excel-таблицы

parent 40eb4d72
...@@ -221,11 +221,15 @@ $(document).ready(function(){ ...@@ -221,11 +221,15 @@ $(document).ready(function(){
} else { } else {
currentActiveLine = line; currentActiveLine = line;
$row.append($('<td class="'+ line +'">').html(valueFormat(item[line]))); $row.append($('<td class="'+ line +'">').html(valueFormat(item[line])));
$rowExcel.append($('<td>').html(valueFormat(item[line]))); if (dataLineChartStat.report == 'transactions') {
$rowExcel.append($('<td>').html(valueFormat(item[line])));
}
} }
}); });
$row.appendTo($tableContent); $row.appendTo($tableContent);
$rowExcel.appendTo($tableToExcelContent); if (dataLineChartStat.report == 'transactions') {
$rowExcel.appendTo($tableToExcelContent);
}
}); });
// Добавляем строку "Итого" для отчета 'common': // Добавляем строку "Итого" для отчета 'common':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment