WooCommerce PDF Invoices - Version 1.1.2

Version Description

  • March 10, 2015 =

  • Fixed: Fatal error WC_ORDER::get_shipping()

Download this release

Release Info

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

Code changes from version 1.1.1 to 1.1.2

Files changed (3) hide show
  1. includes/class-invoice.php +1 -1
  2. index.php +2 -2
  3. readme.txt +5 -1
includes/class-invoice.php CHANGED
@@ -255,7 +255,7 @@ function generate_invoice($val, $id, $order){
255
  </tr>
256
  <tr>
257
  <td class="totals"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
258
- <td class="totals"><?php echo woocommerce_price($order->get_shipping()); ?></td>
259
  </tr>
260
  <?php
261
  if($vat_rates != 0){
255
  </tr>
256
  <tr>
257
  <td class="totals"><?php _e( 'Shipping', 'woocommerce-pdf-invoices' ); ?></td>
258
+ <td class="totals"><?php echo woocommerce_price($order->get_shipping_to_display()); ?></td>
259
  </tr>
260
  <?php
261
  if($vat_rates != 0){
index.php CHANGED
@@ -3,14 +3,14 @@
3
  /**
4
  * Plugin Name: WooCommerce PDF Invoices
5
  * Description: Generate PDF invoice and automatically attach to WooCommerce email type of your choice.
6
- * Version: 1.1.1
7
  * Author: Bas Elbers
8
  * License: GPL2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit;
12
 
13
- define("BEWPI_VERSION", "1.1.1");
14
  define("BEWPI_PLUGIN_DIR", plugin_dir_path(__FILE__));
15
  define("BEWPI_PLUGIN_URL", plugins_url( '/' , __FILE__ ));
16
 
3
  /**
4
  * Plugin Name: WooCommerce PDF Invoices
5
  * Description: Generate PDF invoice and automatically attach to WooCommerce email type of your choice.
6
+ * Version: 1.1.2
7
  * Author: Bas Elbers
8
  * License: GPL2
9
  */
10
 
11
  if ( ! defined( 'ABSPATH' ) ) exit;
12
 
13
+ define("BEWPI_VERSION", "1.1.2");
14
  define("BEWPI_PLUGIN_DIR", plugin_dir_path(__FILE__));
15
  define("BEWPI_PLUGIN_URL", plugins_url( '/' , __FILE__ ));
16
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.5
6
  Tested up to: 3.8.1
7
- Stable tag: 1.1.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -62,6 +62,10 @@ The manual installation method involves downloading our eCommerce plugin and upl
62
 
63
  == Changelog ==
64
 
 
 
 
 
65
  = 1.1.1 - February 6, 2014 =
66
 
67
  - Added: Choose starting point for invoice numbers
4
  Tags: woocommerce pdf invoices, invoice, generate, pdf, woocommerce, attachment, email, completed order, customer invoice, processing order, attach, automatic, vat, rate, sequential, number
5
  Requires at least: 3.5
6
  Tested up to: 3.8.1
7
+ Stable tag: 1.1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
62
 
63
  == Changelog ==
64
 
65
+ = 1.1.2 - March 10, 2015 =
66
+
67
+ - Fixed: Fatal error WC_ORDER::get_shipping()
68
+
69
  = 1.1.1 - February 6, 2014 =
70
 
71
  - Added: Choose starting point for invoice numbers