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.'