From 01c93454b9ffb075dfd9fbafc23ba11e8fdc7f4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CVeLiTi=E2=80=9D?= <“info@veliti.nl”> Date: Fri, 5 Apr 2024 16:39:35 +0200 Subject: [PATCH] CIM57 - Updates to printout --- assets/admin.js | 2 +- equipments_mass_update.php | 28 ++++++++++------------------ 2 files changed, 11 insertions(+), 19 deletions(-) diff --git a/assets/admin.js b/assets/admin.js index 591f0d6..f1b64b1 100644 --- a/assets/admin.js +++ b/assets/admin.js @@ -1119,7 +1119,7 @@ function sortTextVal(a, b) { //------------------------------------------ function printDiv(div) { var divContents = document.getElementById(div).innerHTML; -var a = window.open('', '', 'height=500, width=500'); +var a = window.open('', '', ''); a.document.write(''); a.document.write(' '); a.document.write(divContents); diff --git a/equipments_mass_update.php b/equipments_mass_update.php index ab02e8d..7c78816 100644 --- a/equipments_mass_update.php +++ b/equipments_mass_update.php @@ -111,25 +111,17 @@ if ($update_allowed === 1){ $shipto = (isset($_POST['shipto']) ? $_POST['shipto'] : ''); $customer = (isset($_POST['soldto']) ? $_POST['soldto'] : $shipto); - $order_header = ' - - - - - - - - - - - - - - - - + $order_header = '
'.$mass_update_order_ref.''.$mass_update_order_total.''.$mass_update_customer.'
'.($_POST['order_ref'] ?? '').''.$total_rowID.''.$customer.'
+ + + + + + + + +
'.$tab1.'
'.$mass_update_order_ref.''.($_POST['order_ref'] ?? '').'
'.$mass_update_order_total.''.$total_rowID.'
'.$mass_update_customer.''.$customer.'
'; - } }