Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion

osTicket v1.10 (stable) and Maintenance Release v1.9.15 are now available! Go get it now

Need to add a Print Invoice button

Hello,

I am using V1.10 and in Agent screen, under Tickets -> Print Icon on the top right, I would like to add a third line 'Print Invoice' linking to my custom php file for invoice

... tickets_report.php?id=<ticket_id>&a=print and send the output to PDF, or open the php in a new page.

Can some one guide me which file to modify for that sub-menu? If you could even help me with the code, that would be much appreciated.




Comments

  • "in Agent screen, under Tickets -> Print Icon on the top right,"
    There is no print icon following this path.

    Perhaps you mean Agent screen, click on any ticket, Then expand the "Print icon" and add a third option there?  Like this:

    image

    If so then you would search the project source for the string before it.
    Which tells you

    /include/staff/ticket-view.inc.php
    circa line 79-96.
Sign In or Register to comment.