Jump to content

[SOLVED]How to remove the space at the beginning of invoice


Recommended Posts

It looks like you are using the invoice.tpl template only. Normaly, the page is composed from 3 templates: header.tpl, invoice.tpl, footer.tpl.

 

See writePage() method in /classes/pdf/PDFGenerator.php where margins as well as the header are set.

Link to comment
Share on other sites

The point is the i'm a super noob :) so what i've done, i found an example online of invoice with three files header.tpl  invoice.tpl and invoice.tax tab.tpl  and i modify some things and now it works 90%, the problem is that thing that i shew before :)

 

But i really don't know how to see where can i find margins in PDFgenerator and header, cause i'm a noob :'(

I mean i can try of course :)

Link to comment
Share on other sites

  • 7 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...