Essemme_Forniture Posted August 21, 2014 Share Posted August 21, 2014 (edited) Hello, i made my new invoice, modifying another one, but i can't understand how to remove the space on top, like in the image attached. i think i've to modify the invoice.tpl, but i don't know where. Thanks for all your support guys Regards Simone Edited September 4, 2014 by affaridanoi (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted August 22, 2014 Share Posted August 22, 2014 You should share your new invoice, because we don't know what you changed. Link to comment Share on other sites More sharing options...
Essemme_Forniture Posted August 22, 2014 Author Share Posted August 22, 2014 You're right tuk66 here you are the invoice pdf https://drive.google.com/file/d/0B4K1usLq2uVUdS0zWkpPYzBqX0l3ZkhXcW03WHdXRjRJSFl3/edit?usp=sharing and here you are the invoice.tpl https://drive.google.com/file/d/0B4K1usLq2uVUd1lOZEVwYktJazA/edit?usp=sharing Thanks for your support Simone Link to comment Share on other sites More sharing options...
tuk66 Posted August 22, 2014 Share Posted August 22, 2014 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 More sharing options...
Essemme_Forniture Posted August 22, 2014 Author Share Posted August 22, 2014 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 More sharing options...
tuk66 Posted August 27, 2014 Share Posted August 27, 2014 I would just put in the invoice header to header.tpl file. Link to comment Share on other sites More sharing options...
Essemme_Forniture Posted September 4, 2014 Author Share Posted September 4, 2014 I'll try and i'll let you know tuk66 Thanks for your help Link to comment Share on other sites More sharing options...
[email protected] Posted April 10, 2015 Share Posted April 10, 2015 Hi, Actually I Want To Remove A Space Occupied By The Header,tpl in my invoice as i want to remove header from my invoice... plz let me know how to remove this space Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now