SoHoIT Posted October 27, 2015 Share Posted October 27, 2015 Hi, Anyone know how I can do this please? there is no reference to 'unpaid' anywhere on the invoicepdf.tpl file but it still appears on the invoice. thanks KP 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 27, 2015 Share Posted October 27, 2015 Anyone know how I can do this please? you just want to remove the Unpaid band or all bands ? if just remove, then you could add another if statement to the invoice section of invoicepdf.tpl, specifying "Unpaid" invoices to have a white band - effectively making it invisible... } elseif ($status == 'Unpaid') { $pdf->SetFillColor(255,255,255); $pdf->SetDrawColor(255); there is no reference to 'unpaid' anywhere on the invoicepdf.tpl file but it still appears on the invoice. it will be using the value of $status. 0 Quote Link to comment Share on other sites More sharing options...
SoHoIT Posted October 27, 2015 Author Share Posted October 27, 2015 yes, I want to keep all other bands but remove the unpaid band. I'll try that now Brian. thanks 0 Quote Link to comment Share on other sites More sharing options...
SoHoIT Posted October 27, 2015 Author Share Posted October 27, 2015 Fantastic brian Thanks. that has done it. 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.