Custom Status not printing

Forum dedicated to Mods for HESK created by Mike Koch

Moderator: mkoch227

Post Reply
cwyenberg
Posts: 56
Joined: Sat Jun 16, 2018 12:53 am

Custom Status not printing

Post by cwyenberg »

Script URL:
Version of script: 2.8.1 and Mods 2018.1.0
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution: Status

Write your message below:

The ticket status box is blank when printing from the ticket details page. This happens with any new or modified status. I.E New and Resolved will still show when ticket printed

Thanks
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Status not printing

Post by Klemen »

Works fine in the original Hesk (example), maybe a Mods for Hesk issue?
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
cwyenberg
Posts: 56
Joined: Sat Jun 16, 2018 12:53 am

Re: Custom Status not printing

Post by cwyenberg »

I've done a little investigating and note that there is no data in the custom_statuses table. Does the hesk_statuses table cross-reference this?

On line 54 in print_template.inc.php I see the following:

<td bgcolor="#EEE"><b>' . $hesklang['ticket_status'] . ':</b></td><td bgcolor="#DDD">' . $hesklang[$ticket['statusKey']] . '</td>

Do I need to modify/add to the language file?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Re: Custom Status not printing

Post by Klemen »

That's a Mods for Hesk issue then. You should upgrade both Hesk and Mods for Hesk to the latest version and see if that fixes the problem.
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image 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
mkoch227
Posts: 666
Joined: Wed Jul 04, 2012 3:37 pm

Re: Custom Status not printing

Post by mkoch227 »

Just looked at the current print_template.inc.php for Mods for HESK and can confirm that this is a bug.... it's actually been broken for a couple years now :oops:
Mike, Lead Developer of Image HESK: A surprisingly simple, user-friendly and FREE help desk software with integrated knowledgebase.
cwyenberg
Posts: 56
Joined: Sat Jun 16, 2018 12:53 am

Re: Custom Status not printing

Post by cwyenberg »

Understood. I'm actually surprised that this uncovered a bug in such a solid piece of work. Obviously not something many users require.

Not a critical need for me at the moment. Please let me know if there is a workaround.

Thanks
Post Reply