Jump to content
  • 0

Creating a button on invoice screen


Mohsin Sumar

Question

Hello,

I'm building an add-on module that will require a button to be placed on the invoice screen, something similar to "Attempt Capture" (see attached). The purpose of the new button would be to do certain accounting backend procedures. 

I have not been able to find any documentation that will allow me to dynamically add a button without modifying the template files manually. Can someone guide me to the right direction? 

Screen Shot 2018-06-05 at 21.34.30.png

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

Is there a particular reason why you don't want to modify the template files? I'm not sure if a hook for this exists but you can search here:

https://developers.whmcs.com/hooks-reference/invoices-and-quotes/

Then execute the hook to add the code in your specific page. But I would rather personally do it directly in the template instead.

Edited by yggdrasil
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated