Jump to content

How to customize invoices admin page


Recommended Posts

Hello,

I made a module that extends the billing part of WHMCS. To simplify, it connects WHMCS to external services to handle what in Italy is called "electronic invoicing" and customizes the native WHMCS behaviours of numbering, handling credit notes, zero-amount invoices, etc.

I have always worked in the backend side and added a little HTML part to the invoice detail page, but I was wondering the correct way to be able to edit the invoice list admin page. I would like to show in the invoice table the status of the invoices (e.g. pending sending, pending outcome, acquired, to be corrected, ...).
I did some research and the answers I found are:
1) modify the table DOM via JS with AJAX calls to retrieve the information about the invoices shown
2) create an entire custom page template.

Could it be that there is no way to tell WHMCS "add column named X and for each row of that column run the code Y"?
It would be nice to find more in-depth documentation than can be seen online...!

Thanks for any suggestion.

Nicola

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
Reply to this topic...

×   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