LukaTCE Posted July 28, 2014 Share Posted July 28, 2014 Hi, how to set where to show payment status of invoice in PDF generated invoices ? Now it show next to logo but some have next to "invoiced to" 0 Quote Link to comment Share on other sites More sharing options...
Alex - Arvixe Posted July 28, 2014 Share Posted July 28, 2014 The PDF invoice template can be found in: invoicepdf.tpl. You can add the variable: $status where you want it and it'll show up as 'Paid, Unpaid or Cancelled'. 0 Quote Link to comment Share on other sites More sharing options...
LukaTCE Posted July 28, 2014 Author Share Posted July 28, 2014 (edited) The PDF invoice template can be found in: invoicepdf.tpl. You can add the variable: $status where you want it and it'll show up as 'Paid, Unpaid or Cancelled'. Thx I allready looked into invoicepdf.tpl But I don't know how to change It's $statustext and $status So I set x and y ? and delete rotate ? $pdf->SetXY(0,0); $pdf->SetFont('freesans','B',28); $pdf->SetTextColor(255); $pdf->SetLineWidth(0.75); $pdf->StartTransform(); $pdf->Rotate(-35,100,225); $pdf->Cell(100,18,strtoupper($statustext),'TB',0,'C','1'); $pdf->StopTransform(); $pdf->SetTextColor(0); Edit: I don't want to show this box. I want just text to be in different colours. If I delete $pdf->Cell(100,18,strtoupper($statustext),'TB',0,'C','1'); then nothing show at all. Edited July 28, 2014 by LukaTCE 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.