I need a template for invoice and receipt built in php, using dompdf extension.
The template needs to look like the pdf files that i attached.
I need 3 php files: first that is generating only the invoice, second file that is generating only the receipt and a third file needs to generate the invoice first and then add a new page and generate the receipt there.
The containers should not be fixed height because the content may deffer.
the black footer needs to be present on all pages.
I also attached a .php example called generator.php. Basically you need to create the html template. feel free to modify the php code as needed.
I need good clean code. Is best to use tables where is possible.
Here is the Dompdf url: [login to view URL]