Howdy, Stranger!

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


developer whmcs
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

developer whmcs

georgedatacentergeorgedatacenter Member, Patron Provider

Someone who develops plugins in whmcs?

I would like to make a small modification to the whmcs invoices.

if anyone knows about this please MP

Comments

  • What kind of modification are you looking for?

    Most cases are just a simple few edits to the tpl file.

  • georgedatacentergeorgedatacenter Member, Patron Provider

    @Foul said:
    What kind of modification are you looking for?

    Most cases are just a simple few edits to the tpl file.

    http://prntscr.com/lfacti

    Is it possible to add what appears there? Assigned IPs

  • @georgedatacenter said:

    @Foul said:
    What kind of modification are you looking for?

    Most cases are just a simple few edits to the tpl file.

    http://prntscr.com/lfacti

    Is it possible to add what appears there? Assigned IPs

    I have used {$service_assigned_ips} on email templates before by just editing the .tpl files.

    There's a file called viewinvoice.tpl in your template folder, try modifying that and adding the above.

  • Don't forget {debug}

  • georgedatacentergeorgedatacenter Member, Patron Provider

    Don't forget {deb
    Yes, I had already tried but nothing appears

  • mikhomikho Member, Host Rep

    Give me a screenshot of an invoice where you want the assigned ip to appear and I’ll have a look in my staging whmcs.

    Do you want it on the pdf file and/or viewinvoice template?

  • georgedatacentergeorgedatacenter Member, Patron Provider
  • georgedatacentergeorgedatacenter Member, Patron Provider

    I have achieved with this link:

    that the Dedicated IP is displayed

    https://stackoverflow.com/questions/49254863/show-dedicated-ip-into-customer-invoice-whmcs

    I still can not show the assigned_ip

    Is it also possible to add the product description on the invoice?

  • mikhomikho Member, Host Rep

    You need a hook and a manual change in the template.
    I could probably do that for you if you are willing to pay for it?
    Note that the dedicated and assigned IP will be empty on the first invoice as these fields are populated when the service has been provisioned.

    georgedatacenter said: Is it also possible to add the product description on the invoice?

    The description that is shown at the page with the order button?
    That I wouldn't recommend as that product could be hidden/changed/deleted and it could differ between invoices.

  • jetchiragjetchirag Member
    edited November 2018

    @Venom said:

    @georgedatacenter said:

    @Foul said:
    What kind of modification are you looking for?

    Most cases are just a simple few edits to the tpl file.

    http://prntscr.com/lfacti

    Is it possible to add what appears there? Assigned IPs

    I have used {$service_assigned_ips} on email templates before by just editing the .tpl files.

    There's a file called viewinvoice.tpl in your template folder, try modifying that and adding the above.

    Just for information, this variable is not available in viewinvoice.tpl including any other service related one.

    Thanked by 1mikho
Sign In or Register to comment.