*** WooCommerce PDF Invoice Changelog ***
2017.10.17 - version 3.7.7
 * Add Bookings meta
 * Woo update headers
 * WC tested up to headers
 * Change default font to DejaVu Sans - more compatibility.
 * Fix Completed/Order invoice date option
 * Update CSV Export compatibility (WC 3.0 tweaks)

2017.08.17 - version 3.7.6
 * stripslashes from $pdflines (issue with Box Office)
 * Rename DOMPDF classes to avoid conflicts

2017.07.19 - version 3.7.5
 * Fix PDF not being attached during order process

2017.06.26 - version 3.7.4
 * Fix Undefined Constant meta_output
 * Fix meta output
 * Improve meta layout

2017.06.19 - version 3.7.3
 * Prevents conflict with other plugins that use DOMPDF

2017.05.25 - version 3.7.2
 * Reword “invoice old orders” setting
 * Clean up file name
 * if {{invoicedate}} is used in filename and there is no invoice date use order date instead
 * filter $user_id
 * WooCommerce 3.1 support

2017.05.02 - version 3.7.1
 * Version number bump

2017.04.26 - version 3.7.0
 * Exit is not needed after return
 * Better error handling
 * Attach PDF to any available email
 * Fix PDF not being attached to certain order statuses.

2017.04.10 - version 3.6.0
 * Option to delete all invoice numbers - USE WITH CAUTION!
 * Make debug page translatable

2017.01.02 - version 3.5.0
 * WooCommerce 3.0.0 compatibility 

2017.03.21 - version 3.4.2
 * Correct spelling on settings page
 * Add notice for missing PHP function iconv
 * update debugging screen

2017.03.16 - version 3.4.1
 * Fix - Deprecated: Non-static method WC_send_pdf::send_test_pdf()

2017.03.15 - version 3.4.0
 * PHP 7 Updates - Update PDFMerger
 * Fix fatal error “Using $this when not in object context”

2016.11.16 - version 3.3.0
 * Enhancement - Add option to reduce file size.
 * Enhancement - Add all Sequential Order Numbers Pro order number modifiers, see docs.
 * Enhancement - Template modifications to force logo width to 340px.

2016.09.29 - version 3.2.5
 * Maintenance - reduce file size

2016.08.30 - version 3.2.4
 * Fix - invoice not attaching for on-hold orders
 * Maintenance - Version 4 support for Customer/Order CSV Export

2016.07.06 - version 3.2.3
 * Fix - Fatal error: Class 'WC_send_pdf’ when sending test

2016.06.27 - version 3.2.2
 * Fix - Use sequential order number
 * Maintenance - Only load DOMPDF if necessary
 * Maintenance - Update ‘My Account’ download for WC 2.6

2016.05.11 - version 3.2.1
 * Fix - double .pdf extension for standard downloads.

2016.04.21 - version 3.2.0
 * Enhancement - update DOMPDF to latest version.
 * Enhancement - filter the file name.
 * Enhancement - F and M to file name.
 * Enhancement - Add upload logo button to settings.
 * Enhancement - Allow remote logos
 * Fix - allow {{year}} and {{YEAR}} in invoice name suffix
 * Fix - check for WP Engine to avoid caching invoice numbers :/

2016.02.15 - version 3.1.9
 * Enhancement - invoice number padding
 * Enhancement - Add support for Taxamo
 * Fix - Remove first option in Invoice Creation Method dropdown

2015.12.14 - versio 3.1.8
 * fix - / in file names

2015.11.23 - version 3.1.7
 * Fix - get correct currency for line items
 * Enhancement - Add Refunds to order total.

2015.11.13 - version 3.1.5
 * Enhancement - Add filter for item meta

2015.11.05 - version 3.1.4
 * Enhancement - add {{invoicedate}} variable to invoice number
 * Fix - admin download link

2015.10.11 - version 3.1.2
 * Fix - Subs 2 functions
 * Fix - settings field name

2015.07.27 - version 3.1.1
 * Fix - undefined index annual_restart
 * Fix - undefined index pdf_creation
 * WC 2.4 Support

2015.05.24 - version 3.1.0
 * Fix - download link not working for guests
 * Fix - product lines when coupon is used
 * Enhancement - option to force file downloads only
 * Enhancement - option to reset invoice number to 1 each year.
 * Enhancement - allow year in filename.

2015.04.30 - version 3.0.3
 * Subscriptions compatibility 

2015.04.26 - version 3.0.2
 * better temp file handling 
 * add htaccess to temp folder
 * Add support for Customer/Order CSV Export
 * Fix price display when discounts are applied

2015.03.25 - version 3.0.1
 * version bump to avoid conflicts

2015.02.15 - version 1.3.0
 * Use get_order_item_totals instead of separate order total sections
 * compatibility with fees API
 * fix My Account URL check

2015.01.15 - version 1.2.16
 * Fixed strict standards on image method having same argument types as parent
 * Fixed suppress buffer clean error if there are no buffer to clean
 * Fixed is_active_plugin function being called out of admin init context causing error
 * Fixed strict standards calling method from a non static context
 
2014.05.24 - version 1.2.15
 * move past orders check
 * Update language file handling.

2014.05.114 - version 1.2.14
 * Fix Fatal error: Cannot redeclare mb_substr() 

2014.04.21 - version 1.2.13
 * Add support for Free Sequential Order Numbers

2014.03.27 - version 1.2.12
 * fix bugs created in previous version

2014.03.24 - version 1.2.11
 * Change tax labels to use stored order values
 * Show all tax rates and labels, not just total 
 * add all order discounts to discount section

2014.03.10 - version 1.2.10
 * bug fix for non stored company details
 * Support for WPML
 * Support for Currency Switcher
 
2014.02.09 - version 1.2.9
 * Store company details with order for future proofing.
 * Check image URL for HTTP/HTTPS and match current URL.
 * Fix for strict standards notices

2014.01.22 - version 1.2.8
 * WooCommerce 2.1
 * New Admin font icons instead of images for WC 2.1.
 * Add ‘Coupons Used’ to order total discount section if a coupon was used.
 * Tweak for Safari .HTML

2013.12.15 - version 1.2.7
 * Remove unnecessary files
 * Fix .HTML in Safari
 * use date_i18n
 * fix missed translation in meta box
 * Stop using temp folder and start using wp-content/pdfinvoices/ where possible
 * CRON task to empty folder once a day
 * remove Order Note if $order->customer_note empty

2013.11.13 - version 1.2.5
 * Fix Fatal error: Cannot redeclare mb_substr()
 * Additional warnings on main settings screen if font / temp directories are not writable

2013.10.28 - version 1.2.4
 * Fix language issues for some non-latin alphabets
 * Add languages folder
 * Remove PDF encryption, causes problems with fonts.
 * Support for Google Fonts

2013.10.18 - version 1.2.3
 * Fix Changelog
 * Fix templating bug that prevented order info being used when adding additional info
 * Better Invoice creation logic
 * Add pending to the list of invoice creation options
 * Updated font library

2013.09.30 - Version 1.2.2
 * Add OnHold orders to the list that can have an invoice
 * Compatibility with EU VAT Number Extension

2013.09.27 - Version 1.2.1
 * Interim version for a couple of customers

2013.09.25 - Version 1.2.0
 * Added debugging tab
 * Fix generate invoices when order is marked processing
 * Fix logic for when to generate invoices
 * Fix - The pdf invoice numbers seem to go out of sequence with order numbers when an order fails
 * Replace text-domain constant with 'text-domain' #doingitproperly
 * Add additional page for terms and conditions etc using http://pdfmerger.codeplex.com/
 * Send test email with small PDF attachment

2013.09.12 - Version 1.1.3
 * Fix adding additional content to invoice template

2013.08.30 - Version 1.1.2
 * Prevent copying from Invoice
 * Fix for empty array of "other emails"

2013.08.30 - Version 1.1.1
 * Calculation bug fix (Thanks Dom)

2013.08.29 - Version 1.1.0
 * Bug fix for PHP bug 4144
 * New features

2013.08.03 - Version 1.0.2
 * Invoice Date cleared if order not completed

2013.07.11 - Version 1.0.1
 * Template Update

2013.07.11 - Version 1.0.0
 * First Release