From bf09deef7fd1a8f393b3cbdb34b2f1ce504879c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Fri, 29 Mar 2024 07:38:18 +0100 Subject: [PATCH] Mass_update - print log --- assets/admin.js | 13 +++++++++++++ equipments_mass_update.php | 3 ++- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/assets/admin.js b/assets/admin.js index 80ff9e7..591f0d6 100644 --- a/assets/admin.js +++ b/assets/admin.js @@ -1114,3 +1114,16 @@ function sortTextVal(a, b) { return 0; } +//------------------------------------------ +// Print DIV +//------------------------------------------ +function printDiv(div) { +var divContents = document.getElementById(div).innerHTML; +var a = window.open('', '', 'height=500, width=500'); +a.document.write(''); +a.document.write(' '); +a.document.write(divContents); +a.document.write(''); +a.document.close(); +a.print(); +} \ No newline at end of file diff --git a/equipments_mass_update.php b/equipments_mass_update.php index 8eb74db..38941e0 100644 --- a/equipments_mass_update.php +++ b/equipments_mass_update.php @@ -40,7 +40,7 @@ if ($update_allowed === 1){ $total_rowID = 0; $total_not_found = 0; - $output_excel_display .= ' + $output_excel_display .= '
@@ -241,6 +241,7 @@ if ($update_allowed === 1){ $view .= '
'.$tab3.' '.$total_summary.' +
'.$equipment_label2.'