Hi mtbridge17,
this bug was introduced in the latest WP version where the way I am creating “font-end pages” has a trouble with regular sandboxing. I’ve already fixed this for the next version of HDInvoice, but you can easily fix this by editing ./includes/templates/script.js from the HDInvoice folder.
Lines 571 and 647 have var hdv_customer_info = $('#hdv_customer_info').trumbowyg('html');
Changing this to:
var hdv_customer_info = jQuery('#hdv_customer_info').trumbowyg('html'); should fix the issue. Let me know if you have any trouble with this and I’ll post a “fixed” version for you on my site.
Thank you for your quick response. I am not familiar with the editing process that you refer to. How long will it be before the new version is available?
That worked! Thank you. Is there a way to export the Invoice as a PDF?
Not yet, but I am working on that feature. The problem is that generating PDFs requites certain PHP modules that not everyone has installed on their servers – so I’m looking into ways to detect this and implement alternatives.
I’m hoping to have this for the next version as it’s something my own clients request from time to time. For whatever it’s worth, I usually just tell them to print the invoices directly from the browser since the invoices are very print friendly 🙂
Thanks, I used the print utility and exported the print job as a PDF.