Jump to content

Remove the @price on the invoice


Keksi

Recommended Posts

I have a problem with the invoice template. It adds stuff that i dont want there, and i cant seen to customise it.

 

Can someone please help me?

 

Description | Price <- This is how it should be, and you can see the fault here:

738417.jpeg

 

And in the template, we have only added:

$pdf -> Cell ( 130, 0, $item['description'] );

$pdf -> Cell ( 0, 0, $item['amount'], '', 2 );

$pdf -> SetX ( 10 );

 

So we do not want to have quantity or the @price

 

How do we remove this?

Link to comment
Share on other sites

The issue is caused when you convert a quote to an invoice. As workaround you can try the following to strip the price:

 

$pdf -> Cell ( 130, 0, substr($item['description'], 0, strpos($item['description']."@", "@")) );

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