Hello
Is it possible that when I print a case that ticket id change into a bar code?
Is there a certain way it should be set up on?
Is there a program I can use or a php code which can be inserted?
Hope you can help me
Jonas
Ticket-id to Barcode
Re: Ticket-id to Barcode
Not at the moment, but sounds like a good idea. I will look into it, but no promises.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Ticket-id to Barcode
Hi Klemen,
Becomes barcode an option in Hesk?
When I print a ticket or a case?
Jonas
Becomes barcode an option in Hesk?
When I print a ticket or a case?
Jonas
Re: Ticket-id to Barcode
Not yet, but probably in one of the future releases.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Re: Ticket-id to Barcode
Hi,
You don't specify which type of barcode you need so I take it a good old code 39 will do so you can (very) easily add one by using code found here (not mine) :
source code
line to add to ticket.php
Assuming you put the source code in ./barcode.php you change ticket.php (around line 280) as :

Hope this helps
edit : and if you don't mind depending on a google API, you can display a QR code y adding this line to ticket.php (no need for barcode.php) :
You don't specify which type of barcode you need so I take it a good old code 39 will do so you can (very) easily add one by using code found here (not mine) :
source code
line to add to ticket.php
Assuming you put the source code in ./barcode.php you change ticket.php (around line 280) as :
Code: Select all
if ($hesk_settings['sequential'])
{
echo '<tr>
<td colspan="2">'.$hesklang['trackID'].': '.$trackingID.' ('.$hesklang['seqid'].': '.$ticket['id'].')
<img src="./barcode.php?string=' .$trackingID.'" alt="Code barre" /></td>
<td> </td>
</tr>';
}

Hope this helps
edit : and if you don't mind depending on a google API, you can display a QR code y adding this line to ticket.php (no need for barcode.php) :
Code: Select all
<img src="https://chart.googleapis.com/chart?chs=100x100&cht=qr&chl=' . $trackingID . '&choe=UTF-8" title="' . $trackingID . '" />
Re: Ticket-id to Barcode
Thanks for sharing!
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here 
You should follow me on Twitter here
Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools


Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...
Also browse for php hosting companies, read php books, find php resources and use webmaster tools