From bacfbbce88652857d3b9301b75172111cbc1f00c Mon Sep 17 00:00:00 2001 From: E98Developer Date: Fri, 3 Jul 2026 06:59:50 +0200 Subject: [PATCH] =?UTF-8?q?EV3-387=20Verziov=C3=A1ltott=20teszt=20-=20Stat?= =?UTF-8?q?isztika?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- resources/views/admin/statistics/index.blade.php | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/resources/views/admin/statistics/index.blade.php b/resources/views/admin/statistics/index.blade.php index 35720f0..2e5648f 100644 --- a/resources/views/admin/statistics/index.blade.php +++ b/resources/views/admin/statistics/index.blade.php @@ -629,7 +629,20 @@ className: 'dt-body-right', buttons: { buttons: [ - 'excel','pdf', + { + extend: 'excel', + exportOptions: { + format: { + body: function (data, row, column, node) { + if ([2, 3, 4, 5, 6].includes(column)) { + return typeof data === 'string' ? data.replace(/ /g, '') : data; + } + return data; + } + } + } + }, + 'pdf', { footer:true, extend: 'print',