Keksi Posted October 13, 2010 Share Posted October 13, 2010 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: 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? 0 Quote Link to comment Share on other sites More sharing options...
Keksi Posted October 17, 2010 Author Share Posted October 17, 2010 Anyone? Maybe I should submit this as a bug, because it shouldn't be there.. 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted October 17, 2010 Share Posted October 17, 2010 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']."@", "@")) ); 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.