Jump to content

PDF invoice


LukaTCE

Recommended Posts

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 by LukaTCE
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