Page 1 of 1
It prints with notes hidden from the client.
Posted: Wed Jan 17, 2024 1:22 pm
by kos6rkn1
Version of script: 3.4.3
The client has the option to print notes that should be invisible to them. How can this be fixed?
Re: It prints with notes hidden from the client.
Posted: Wed Jan 17, 2024 3:56 pm
by cwyenberg
This prints all custom fields as well, whether public or staff-only. If this is not a simple edit I will need to remove the print button and the customer can simply use the browser page print function.
Re: It prints with notes hidden from the client.
Posted: Wed Jan 17, 2024 4:05 pm
by cwyenberg
Commenting out the following line in print.php seems to do the trick:
Code: Select all
$options .= '<a class="btn btn-default" href="print.php?track=' . $trackingID . $hesk_settings['e_query'] . '" title="' . $hesklang['printer_friendly'] . '"><span class="fa fa-print"></span> ' . $hesklang['btn_print'] .
Re: It prints with notes hidden from the client.
Posted: Wed Jan 17, 2024 6:35 pm
by Klemen
Notes are not printed on the customer side.
You probably see them because you are logged into the admin panel when testing/printing from the customer side.
If you open the help desk in a private/incognito browser window (or on another computer) you should be able to confirm that notes are not printed for customers.