Jump to content
Message added by Michael,

Important Notice:

We have received reports that this developer is not responding to support requests. Some extensions may not be compatible with newer versions of Blesta.

Recommended Posts

Posted

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

 

html_invoice.png

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

Posted

Question to blesta staff ,

How i can add link to blesta section using the core class "base_uri" ?

how i can force open the html template in a new page ?

How i can send resquest to add a download link for PDF format ? (my template support also pdf format)

Posted
  On 2/2/2015 at 3:04 PM, sixwishlist.com said:

3.3 and above, hm.. maybe next year. Too many changes in our panel.

 

Every update you miss, you are missing out on a lot and including new plugins / modules...

Posted
  On 2/2/2015 at 3:22 PM, Licensecart said:

Every update you miss, you are missing out on a lot and including new plugins / modules...

Blesta works well in version 3.2, the change is not necessary now. We have other projects based on other billing panels. For sure we will migrate but not now. Addons - this is main problem.

Posted
  On 2/2/2015 at 5:30 PM, sixwishlist.com said:

Blesta works well in version 3.2, the change is not necessary now. We have other projects based on other billing panels. For sure we will migrate but not now. Addons - this is main problem.

maybe 3.2 can work , but it will not includes payment transaction in invoice .

can you test and confirm .

Posted
  On 2/2/2015 at 10:20 PM, PauloV said:

Great job naja7host :)

Thanks

 

  On 2/1/2015 at 10:36 PM, naja7host said:

Question to blesta staff ,

How i can send resquest to add a download link for PDF format ? (my template support also pdf format)

i have found a tip for this question , i can now downloading the pdf invoice from the html view :)

nearly i will update the components ... now realy if blesta can help , i help for this two question

How i can add link to blesta section using the core class "base_uri" ? (or use the template system )

how i can force open the html template in a new page ?

Posted
  On 2/2/2015 at 8:34 PM, naja7host said:

maybe 3.2 can work , but it will not includes payment transaction in invoice .

can you test and confirm .

 

I checked in Blesta 3.2, unfortunately does not work for me.

 

Also I have version Blesta 3.4 for the developer so great job!!!

Posted
  On 2/3/2015 at 1:24 AM, sixwishlist.com said:

I checked in Blesta 3.2, unfortunately does not work for me.

 

Also I have version Blesta 3.4 for the developer so great job!!!

v3.2 has some limitation and somelock of feature in v3.3 and v3.4 , so i suggest you to update to v3.4 .
Posted

Hi Naja, Nice feature... ;) ... I have tried this component and tried sending invoices to clients, I noticed that the html format of the invoice is sent as an attachment. Is there a way to set so the hml invoice is only viewed in the client area and the pdf format is sent via email as an attachment?

 

Cheers..  ;)

Posted
  On 2/4/2015 at 6:26 PM, Joseph H said:

Hi Naja, Nice feature... ;) ... I have tried this component and tried sending invoices to clients, I noticed that the html format of the invoice is sent as an attachment. Is there a way to set so the hml invoice is only viewed in the client area and the pdf format is sent via email as an attachment?

Cheers.. ;)

I m working to find a solution for this .

Posted
  On 2/4/2015 at 6:26 PM, Joseph H said:

Hi Naja, Nice feature... ;) ... I have tried this component and tried sending invoices to clients, I noticed that the html format of the invoice is sent as an attachment. Is there a way to set so the hml invoice is only viewed in the client area and the pdf format is sent via email as an attachment?

 

Cheers..  ;)

fixed now , upload the new version , goto invoice customization , then slect pdf as type .

+ fixed attach invoice in email in pdf format

+ recode the class to a new handle mime type .

Posted

Thank You!

 

Just testing it, very nice!

 

only thing, I found my logo very big in my HTML invoice, when ok in PDF invoice, please, see attachements

 

 

 

post-10846-0-79210500-1423215911_thumb.p

post-10846-0-44151600-1423215935_thumb.p

Posted
  On 2/6/2015 at 9:47 AM, serge said:

Thank You!

 

Just testing it, very nice!

 

only thing, I found my logo very big in my HTML invoice, when ok in PDF invoice, please, see attachements

i wil fix it this weekend , it need a thumbail class to be adjusted to the div .

Posted

Thank you!


I had still same issue (big logo width in html invoice) with this new version, my Blesta cache was cleared & browser cached cleared before, to try this new version, see attached pictures.

and my solution to solve it:

in /components/invoice_templates/html_invoice/template/default.php


about line 114


Remplace:
---------
<div class="thumbnail">
    <div class=" text-left">'. $drawLogo .'</div>
</div>


By this:
--------
<div class="thumbnail text-left">'. $drawLogo .'</div>




N.B.
---
removing only space at beginning here " text-left" in your original code do not solve it

post-10846-0-62245000-1423300616_thumb.p

post-10846-0-49947400-1423300633_thumb.p

Posted
  On 2/7/2015 at 9:19 AM, serge said:

Thank you!

I had still same issue (big logo width in html invoice) with this new version, my Blesta cache was cleared & browser cached cleared before, to try this new version, see attached pictures.

i have tested with a very big pictures and is fit to the div .

can you pm or put the link for your logo to test and play with it ?

Guest
This topic is now closed to further replies.
×
×
  • Create New...