WooCommerce PDF Invoices - Version 2.9.5

Version Description

  • September 20, 2017 =

  • Fixed: Download invoice from my account page not showing.

  • Fixed: Non-dismissable rate admin notice.

Download this release

Release Info

Developer baaaaas
Plugin Icon 128x128 WooCommerce PDF Invoices
Version 2.9.5
Comparing to
See all releases

Code changes from version 2.9.4 to 2.9.5

bootstrap.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
- * Version: 2.9.4
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
@@ -17,9 +17,9 @@ defined( 'ABSPATH' ) or exit;
17
  /**
18
  * @deprecated instead use WPI_VERSION.
19
  */
20
- define( 'BEWPI_VERSION', '2.9.4' );
21
 
22
- define( 'WPI_VERSION', '2.9.4' );
23
 
24
  /**
25
  * Load WooCommerce PDF Invoices plugin.
3
  * Plugin Name: WooCommerce PDF Invoices
4
  * Plugin URI: https://wordpress.org/plugins/woocommerce-pdf-invoices
5
  * Description: Automatically generate and attach customizable PDF Invoices to WooCommerce emails and connect with Dropbox, Google Drive, OneDrive or Egnyte.
6
+ * Version: 2.9.5
7
  * Author: Bas Elbers
8
  * Author URI: http://wcpdfinvoices.com
9
  * License: GPL-2.0+
17
  /**
18
  * @deprecated instead use WPI_VERSION.
19
  */
20
+ define( 'BEWPI_VERSION', '2.9.5' );
21
 
22
+ define( 'WPI_VERSION', '2.9.5' );
23
 
24
  /**
25
  * Load WooCommerce PDF Invoices plugin.
includes/admin/views/html-sidebar.php CHANGED
@@ -2,7 +2,7 @@
2
  <h3><?php _e( 'WooCommerce PDF Invoices Premium', 'woocommerce-pdf-invoices' ); ?></h3>
3
  <p>
4
  <?php _e( 'This plugin offers a premium version which comes with the following features:', 'woocommerce-pdf-invoices' ); ?><br/>
5
- - <?php _e( 'Attach PDF invoices to many more email types inclouding third party plugins.', 'woocommerce-pdf-invoices' ); ?><br/>
6
  - <?php _e( 'Send credit notes and cancelled PDF invoices when refunding or cancelling order.', 'woocommerce-pdf-invoices' ); ?><br/>
7
  - <?php _e( 'Fully customize the table content by modifying line item columns and total rows.', 'woocommerce-pdf-invoices' ); ?><br/>
8
  - <?php _e( 'Automatically send PDF invoices as a reminder configurable within a specific period of time.', 'woocommerce-pdf-invoices' ); ?><br/>
2
  <h3><?php _e( 'WooCommerce PDF Invoices Premium', 'woocommerce-pdf-invoices' ); ?></h3>
3
  <p>
4
  <?php _e( 'This plugin offers a premium version which comes with the following features:', 'woocommerce-pdf-invoices' ); ?><br/>
5
+ - <?php _e( 'Attach PDF invoices to many more email types including third party plugins.', 'woocommerce-pdf-invoices' ); ?><br/>
6
  - <?php _e( 'Send credit notes and cancelled PDF invoices when refunding or cancelling order.', 'woocommerce-pdf-invoices' ); ?><br/>
7
  - <?php _e( 'Fully customize the table content by modifying line item columns and total rows.', 'woocommerce-pdf-invoices' ); ?><br/>
8
  - <?php _e( 'Automatically send PDF invoices as a reminder configurable within a specific period of time.', 'woocommerce-pdf-invoices' ); ?><br/>
includes/woocommerce-pdf-invoices.php CHANGED
@@ -445,6 +445,7 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
445
  */
446
  public function admin_scripts() {
447
  wp_register_script( 'bewpi_admin_js', WPI_URL . '/assets/js/admin.js', array(), WPI_VERSION, true );
 
448
  wp_localize_script( 'bewpi_admin_js', 'BEWPI_AJAX', array(
449
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
450
  'deactivation_nonce' => wp_create_nonce( 'deactivation-notice' ),
@@ -461,7 +462,6 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
461
  $screen = get_current_screen();
462
  $screen_id = $screen ? $screen->id : '';
463
  if ( in_array( $screen_id, self::get_screen_ids(), true ) ) {
464
- wp_enqueue_script( 'bewpi_admin_js' );
465
  wp_enqueue_script( 'bewpi_settings_js' );
466
  wp_enqueue_script( 'wc-enhanced-select' );
467
  wp_enqueue_script( 'jquery-ui-sortable' );
@@ -791,10 +791,6 @@ if ( ! class_exists( 'BE_WooCommerce_PDF_Invoices' ) ) {
791
  return $actions;
792
  }
793
 
794
- if ( ! $invoice->is_sent() ) {
795
- return $actions;
796
- }
797
-
798
  $url = add_query_arg( array(
799
  'bewpi_action' => 'view',
800
  'post' => $order_id,
445
  */
446
  public function admin_scripts() {
447
  wp_register_script( 'bewpi_admin_js', WPI_URL . '/assets/js/admin.js', array(), WPI_VERSION, true );
448
+ wp_enqueue_script( 'bewpi_admin_js' );
449
  wp_localize_script( 'bewpi_admin_js', 'BEWPI_AJAX', array(
450
  'ajaxurl' => admin_url( 'admin-ajax.php' ),
451
  'deactivation_nonce' => wp_create_nonce( 'deactivation-notice' ),
462
  $screen = get_current_screen();
463
  $screen_id = $screen ? $screen->id : '';
464
  if ( in_array( $screen_id, self::get_screen_ids(), true ) ) {
 
465
  wp_enqueue_script( 'bewpi_settings_js' );
466
  wp_enqueue_script( 'wc-enhanced-select' );
467
  wp_enqueue_script( 'jquery-ui-sortable' );
791
  return $actions;
792
  }
793
 
 
 
 
 
794
  $url = add_query_arg( array(
795
  'bewpi_action' => 'view',
796
  'post' => $order_id,
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce pdf invoices, invoice, packing slips, delivery note, packing list, shipping list, generate, pdf, woocommerce, attachment, email, customer invoice, processing, vat, tax, sequential, number, dropbox, google drive, onedrive, egnyte, cloud, storage
5
  Requires at least: 4.0
6
  Tested up to: 4.8
7
- Stable tag: 2.9.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -30,13 +30,17 @@ This WooCommerce plugin generates PDF invoices and PDF packing slips, attaches i
30
 
31
  > **WooCommerce PDF Invoices Premium**<br /><br />
32
  > This plugin offers a premium version which comes with the following features:<br /><br />
33
- > - Design PDF invoices with custom fonts.<br />
34
- > - Multilingual PDF invoices with WPML and Polylang<br />
 
 
35
  > - Bulk generate PDF invoices<br />
36
  > - Bulk export and/or download PDF invoices<br />
37
- > - Periodically bill by generating and sending global invoices<br />
38
- > - Add additional PDF files to PDF invoices.<br />
39
- > - Send customer invoices directly to multiple recipients like suppliers.<br />
 
 
40
  > - Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
41
  > [Upgrade to WooCommerce PDF Invoices Premium >>](http://wcpdfinvoices.com)
42
 
@@ -269,6 +273,11 @@ add_filter( 'wpi_template_name', 'change_template_based_on_order_language', 10,
269
 
270
  == Changelog ==
271
 
 
 
 
 
 
272
  = 2.9.4 - September 13, 2017 =
273
 
274
  - Added: Added invoice actions to view, update and delete invoice.
4
  Tags: woocommerce pdf invoices, invoice, packing slips, delivery note, packing list, shipping list, generate, pdf, woocommerce, attachment, email, customer invoice, processing, vat, tax, sequential, number, dropbox, google drive, onedrive, egnyte, cloud, storage
5
  Requires at least: 4.0
6
  Tested up to: 4.8
7
+ Stable tag: 2.9.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
30
 
31
  > **WooCommerce PDF Invoices Premium**<br /><br />
32
  > This plugin offers a premium version which comes with the following features:<br /><br />
33
+ > - Attach PDF invoices to many more email types including third party plugins<br />
34
+ > - Send credit notes and cancelled PDF invoices<br />
35
+ > - Fully customize PDF invoice table content by modifying line item columns and total rows<br />
36
+ > - Automatically send PDF invoices as a reminder configurable within a specific period of time<br />
37
  > - Bulk generate PDF invoices<br />
38
  > - Bulk export and/or download PDF invoices<br />
39
+ > - Bill periodically by generating and sending global invoices<br />
40
+ > - Let customers decide to generate a PDF invoice on checkout<br />
41
+ > - Change the font of the PDF invoices<br />
42
+ > - Add additional PDF files to PDF invoices<br />
43
+ > - Send customer invoices directly to multiple recipients<br />
44
  > - Compatible with [WooCommerce Subscriptions](http://www.woothemes.com/products/woocommerce-subscriptions) plugin emails.<br /><br />
45
  > [Upgrade to WooCommerce PDF Invoices Premium >>](http://wcpdfinvoices.com)
46
 
273
 
274
  == Changelog ==
275
 
276
+ = 2.9.5 - September 20, 2017 =
277
+
278
+ - Fixed: Download invoice from my account page not showing.
279
+ - Fixed: Non-dismissable rate admin notice.
280
+
281
  = 2.9.4 - September 13, 2017 =
282
 
283
  - Added: Added invoice actions to view, update and delete invoice.