bellini13 Posted June 18, 2011 Share Posted June 18, 2011 hey all, looking for some assistance on either overriding PDF.php or hooking PDFInvoice.I'd like to add an additional line item above the Total line of an invoice. I can easily do this by just adding my logic to the PDF.php class, however I would love to try to figure out how to do this via hooking instead.Anyone have any working examples of hooking PDFInvoice to add custom content, but placing above the Total line, as opposed to under the Total line? Is that even possible using the fpdf library? Link to comment Share on other sites More sharing options...
bellini13 Posted June 19, 2011 Author Share Posted June 19, 2011 Thanks angora,I've attached a screen shot of what I'm trying to do for reference in case anyone has an idea on how to accomplish both as line hooks.For now I have overrode the PDF.php class, and just re-implemented the invoice function, but i'm trying to avoid doing those types of modifications if not required. 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