• Resolved crysishm

    (@crysishm)


    So by default the ticket print option will print the whole conversation. I want to modify that markup to add some custom checkboxes at the end of the file and also some other information. Is there a way to do it? I’d appreciate any advice, even on which hooks or functions could I look at in order to figure it out. Thanks!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author melliesou

    (@melliesou)

    Hi @crysishm,

    Do you want the checkboxes to be included in the page even before it is printed? Or should these checkboxes be included only on the printed page? If you want to include the checkboxes only on the printed page, you may need to use JavaScript to hook into a custom print event which shows the extra details. Otherwise, it’s more simple to add the checkboxes needed into the existing ticket page to print. Doing so would require getting more familiar with the hooks and design & layout of the ticket conversation page.

    Let me know if that is what you are looking for and if you have any follow up questions.

    Plugin Author melliesou

    (@melliesou)

    Hi @crysishm,

    I’ll mark this thread as resolved for now: if you have any other questions, I’ll be happy to answer.

    Thread Starter crysishm

    (@crysishm)

    Hi. Sorry for the late reply.

    This is an example of what I’d like:

    View post on imgur.com

    There are 3 fields:

    A checkbox which I’d like to be available as an option on the ticket details admin page so it can be checked/unchecked and be showed on the print output.

    A hours worked texbox, which I want to place in the ticket details admin page as well.

    And a client sign field, which is static and would have to show up in every print output.

    So these are the options I wanna add. How could I do it?
    Thanks!

    Plugin Author melliesou

    (@melliesou)

    @crysishm,

    In this case, the fastest way to do this is to create a canned response (https://getawesomesupport.com/addons/canned-responses/) as the last message in the ticket with those fields that you want to insert for printing. An alternative to that is to use the “Time Tracking and Invoicing” add-on. (https://getawesomesupport.com/addons/time-tracking-invoicing/) But I think you may be able to get it complete with canned response. (Click the canned response to insert the default text into your ticket).

    If the above options don’t meet your needs, perhaps we can detail what is missing and find an alternative solution?

    Thread Starter crysishm

    (@crysishm)

    Okay, I’ll take a look at it. What about the static “client sign” field? That’s just something I want to be showed up at the print output because it has to be filled in paper. Is there a way to modify the static PDF output? In case I want to add more things like a watermark with the company logo, for example.

    Plugin Author melliesou

    (@melliesou)

    Hi @crysishm,

    To get the “client sign” field and logo, using an embedded image in the ticket should work ok. (In your canned reply if you include the image of how you want the logo and “client sign” to look, that should print out fine if you make it the correct size.

    Thread Starter crysishm

    (@crysishm)

    Hi! thanks again. Could you please give me a hint on how to do the embedded image solution and the custom checkboxes without an extra plugin? I’ve got some wordpress knowledge so if there has to be some modifications in the code I could do it.

    Plugin Author melliesou

    (@melliesou)

    Hi @crysishm,

    In order to do it, you can make an image of the form (You can make the image in any image software, or even just screen-cap a word document if that’s easier). Using that image, you can store the image in a canned-response so that when you are ready to make the form, just submit the canned-response in the ticket and it can be printed with the image of the form in the ticket.

    Thread Starter crysishm

    (@crysishm)

    Yes but that would require buying the canned-response plugin. Isn’t there another way that doesn’t require addons? Sorry for the inconveniences.

    Plugin Author melliesou

    (@melliesou)

    Hi @crysishm,

    The way to do it without the canned response plug-in would be to either customize the plug-in or upload the image manually every time. Those are viable options but have different costs involved either upfront, or in organization/management on an ongoing basis.

    Hope that helps!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Modify print outpot’ is closed to new replies.