Jump to content

Hide discount table when not applied


flexxit

Recommended Posts

Hi there,

I do send out quotes via WHMCS quite often and almost never apply discounts to my quotes. It doesn't look very professional to my clients when I send them a quote with 0% discount all over it.

I think the discount table should be hidden when there is no discount applied to the quote at all and only show when there is a discount applied.

Anyone able to help me arrange this?

Link to comment
Share on other sites

On 26/05/2021 at 20:07, flexxit said:

I do send out quotes via WHMCS quite often and almost never apply discounts to my quotes.

it's a pity that it's "almost" - without that, I would have said to just remove the column from the templates.

but if it's almost and you need to check whether discounts are being applied, then it's going to be an if statement in the output to detect whether there are discounts and if so, to include the column.

for the PDF, you would have to edit the quotepdf template.... for the HTML version, you might be able to use a hook, but I suspect it would just be easier to edit the template.

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.

×
×
  • 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