Page 1 of 1

HESK 3 - display barcode generated from tracking ID when printing a ticket

Posted: Fri Feb 16, 2024 7:11 am
by sheldondebeer
Good Day Everyone

im glad to see there is still some interest on customizations in hesk

can anyone possibly assist with a way to display a barcode generated from the ticket tracking ID on the ticket page so that a barcode is displayed when printing the ticket

we make use of barcoded system and to have the option to scan ticket id will be super beneficial for us , i have tried a solution but it no longer seems to work in hesk 3

here is the thread i have followed and tried (viewtopic.php?f=10&t=4662&p=22561#p22561)

any assistance on this will be greatly appreciated

Re: HESK 3 - HESK 3 - display barcode generated from tracking ID when printing a ticket

Posted: Fri Feb 16, 2024 11:43 am
by Klemen
This is something I created for a client a while ago.

I am not sure it still works with the latest PHP versions (I didn't have the time to test it), but you can try it.

1. download https://hesk.com/extras/hesk3/hesk343_barcode.zip
2. upload to your Hesk folder

Then, when viewing a ticket and clicking the "Print" button in the Hesk interface, a barcode should be on top of the page. It does not show without clicking the print button.

The barcode type is set to C128, but you can change that to a supported type in file \theme\hesk3\print-ticket.php

Re: HESK 3 - display barcode generated from tracking ID when printing a ticket

Posted: Fri Feb 16, 2024 12:06 pm
by sheldondebeer
thank you klemen , much appreciated , i will get to testing this as soon as i can and revert back with my findings, have a good one

Re: HESK 3 - display barcode generated from tracking ID when printing a ticket

Posted: Fri Feb 16, 2024 1:21 pm
by sheldondebeer
Mr klemen , Thank you verry much for the above files , works like a charm , for some reason it took me a while to build up the courage to ask here for help ,

Im glad there are still a few blokes around that doesnt mind lending a hand

Once again thank you , :D

Re: HESK 3 - display barcode generated from tracking ID when printing a ticket

Posted: Fri Feb 16, 2024 3:14 pm
by Klemen
You're welcome, glad to hear it worked. We'll be adding this to one of the future releases as well.