rjcuser Posted August 6, 2008 Share Posted August 6, 2008 Is there an option to turn off the bold statement UNPAID, PAID or CANCELLED field on the pdf created invoice without taking it directly out of the actual template, or do I need to edit the template? If I do, which template is it? 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 6, 2008 Share Posted August 6, 2008 To remove it from the pdf just edit the includes/pdfconfig.php file 0 Quote Link to comment Share on other sites More sharing options...
juiced Posted August 7, 2008 Share Posted August 7, 2008 This is what you want to remove if ($status=="Cancelled") { $pdf->SetXY(90,80); $statustext = $_LANG["invoicescancelled"]; $pdf->SetTextColor(245,245,245); } elseif ($status=="Unpaid") { $pdf->SetXY(120,80); $statustext = $_LANG["invoicesunpaid"]; $pdf->SetTextColor(204,0,0); } elseif ($status=="Paid") { $pdf->SetXY(120,80); $statustext = $_LANG["invoicespaid"]; $pdf->SetTextColor(153,204,0); } 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted August 7, 2008 Share Posted August 7, 2008 IMHO just comment out the $statustext lines , that way you can *easily* put them back in when you change your mind 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.