Changelog

A list of all changes to the plugin.

1.5.1 – April 18, 2017

* Fixed: ‘PHP Fatal error: Call to undefined function is_plugin_active()’ by not checking on frontend/non-admin.

1.5.0 – April 13, 2017

* Added: bewpip_bulk_generate_pdf_invoices_end action filter to execute custom code after bulk generation.
* Added: Polylang compatibility.
* Added: ‘class-bewpip-font.php’ class which automatically loads custom fonts from new uploads/woocommerce-pdf-invoices/fonts directory.
* Improved: Class and file names by using shorter prefix ‘bewpip’ instead of ‘bewpipremium’.
* Improved: Code by moving all global invoice code from ‘be-woocommerce-pdf-invoices-premium.php’ to ‘class-bewpipremium-invoice-global.php’.
* Improved: File structure by moving partials to includes/admin/views.
* Improved: Plugin activation and version checks by showing admin notices also on load.
* Fixed: WooCommerce 3.x.x+ compatibility.
* Fixed: WPML compatibility.
* Fixed: Select type settings by changing option ‘name’ to ‘id’ and added version to scripts.

Important: Requires WooCommerce PDF Invoices version 2.7.0+.

1.4.2 – March 6, 2017

* Fixed: Global invoice order date always showing current date.

Important: Requires WooCommerce PDF Invoices version 2.6.4+.

1.4.1 – February 25, 2017

* Improved: Adding Bulk PDF Invoice actions to bottom action select-list.

1.4.0 – January 29, 2017

* Added: Bulk generate PDF invoices on “Shop Order” page.
* Fixed: “Bulk Export PDF Invoices” action not exporting PDF invoices for selected orders.

1.3.9 – January 29, 2017

* Fixed: Email not attached to emails by getting full path of file instead of only formatted invoice number.
* Fixed: ‘Fatal error: Call to a member function is_virtual() on boolean’ by changing expression from ‘null’ to ‘boolean’ due to type checking operator. Update your custom global template!
* Fixed: ‘Fatal error: Call to a member function get_title() on a non-object’ when trying to generate invoice with deleted product. Update your custom global template!

Important: Requires WooCommerce PDF Invoices version 2.6.0+.

1.3.8 – January 20, 2017

* Added: Bulk export PDF invoices to zip file.

Important: Requires WooCommerce PDF Invoices version 2.5.6+.

1.3.7 – January 19, 2017

* Improved: Database calls to check if pdf invoice exists.

1.3.6 – January 18, 2017

* Fixed: “PHP Fatal error: Uncaught MpdfException: `<tfoot>` must precede `<tbody>` in a table” for global invoice.

1.3.5 – January 11, 2017

* Improved: WPML string translations by adding invoice title option.
* Improved: `taxes_count` variable to independent `tax_count` BEWPI_Abstract_Invoice object variable.

1.3.4 – January 4, 2017

* Added: Custom hidden order itemmeta filter to template file.
* Added: Class BEWPIPREMIUM_Install to separate concerns.
* Improved: Class BEWPIPREMIUM_Settings by following WPCS and using constants.
* Improved: Invoice attachment and email BCC header code.
* Improved: WooCommerce Subscriptions email selectlist to multiple checkboxes in order to attach invoice to multiple email types.
* Removed: Use of BEWPI_TEMPLATES_INVOICES_DIR and using BEWPI_INVOICES_DIR instead.
* Removed: Action ‘mk_custom_template_invoices_dir’ because is has been renamed to ‘bewpi_after_setup_directories’.

1.3.3 – November 15, 2016

* Improved: Requiring files and loading plugin only if needed.
* Fixed: Polylang and WPML conflicts by only using WPML API.
* Fixed: PDF attachment option empty check.

1.3.2 – October 8, 2016

* Fixed: Total with refund calculation.

1.3.1 – October 7, 2016

* Fixed: Paid watermark showing on attached pdf files.

1.3.0 – September 23, 2016

* Added: WPML integration (global invoices not supported yet).
* Added: Send invoice as reminder after specific period of time.
* Fixed: Attaching PDF attachment to PDF invoice.
* Fixed: Total calculation with refund.
* Fixed: Payment method not showing in footer of global invoice.

1.2.0 – March 4, 2016

* Improved: Global invoice template margin between logo and addresses.
* Improved: ‘plugins_loaded’ priority due to free version.
* Improved: Code, text and more.
* Fixed: Global invoice ‘init’ function not checking for nonce.
* Removed: Language files due to usage of free plugin textdomain.

1.1.3 – December 25, 2015

* Fixed: Plugin license activation by adding site url to request
* Improved: Date translations by using date_i18n()

1.1.2 – December 13, 2015

* Fixed: Customer generated invoice not saved and sent by email.

1.1.1 – December 13, 2015

* Fixed: Months in customer generation dropdown on account page not unique.

1.0.1 – December 12, 2015

* Added: Options to choose WooCommerce Subscriptions plugin emails.
* Added: Functionality to generate a global invoice by month or year from customer account page.