Hello All .
this Components for invoice_ template , now the client can view the invoice in html format and then decide to download pdf format .
screenshot
EDIT :
3.0.0
+ Added Support for 4.4.0
2.1.8
+ rewrite HTML engine output .
2.1.7
+ fixed invoice type numbering label in PDF
+ preparing the class for handling the PDF cached (EU invoicing system)
+ remove RTL alignement in PDF file to prevent malformed PDF file in RTL languages
2.1.6
+ fixed invoice type numbering label in html
+ added col-md-x classes for better rendiring in devices
+ separate language file for HTML and PDF
2.1.5
+ added button for edit invoice (staff view)
+ added jquery and bootsrap js
+ added bootsrap theme css
2.1.2
+ added payment botton
2.1.1
+ fixed logo design
2.0.1
+ added link to return to client view
+ remove language difinition from invoiceinfo function output .
2.0.0
+ fixed attach invoice in email in pdf format
+ recode the class to a new handle mime type .
1.5.0
+ added print invoice botton .
+ added download PDF botton .
+ improuve code structure to be more flexible , now, you can almost control all the aspect from the template file .
1.0.0
+ fix language vars.
+ cleanup code .
ANY BUG, feedback post it here , we can improuve the work .
as always the installtion steps is :
1 - download the file http://blesta-addons.com/plugin/store/main/item/6/ . for new release .
2 - upload the html_invoice folder inside components/invoice_templates directory .
3 - goto settings & Invoice Customization , and select html_invoice , then select in type HTML/PDF .
4 - enjoy the content .
if you want to use your own template file , just go inside directory template , you will find the default one , copy it and change name , and change the html output as you want , then change the template used html_invoice.php
from
private static $template = "default" ;
to
private static $template = "you_template" ;
the magic here is you can use your own html template for invoices , just go inside directory template , you will find the default one , copy it and change name , and change the html output as you want , then change the templated used in Invoice Customization setting .
Best regards