WooCommerce PDF Invoices & Packing Slips - Version 1.1.0

Version Description

  • Feature: Fees can now also be called ex. VAT
  • Feature: Invoices can now be downloaded from the My Account page
  • Feature: Spanish translation & POT file included
  • Fix: ternary statements that caused an error
Download this release

Release Info

Developer pomegranate
Plugin Icon 128x128 WooCommerce PDF Invoices & Packing Slips
Version 1.1.0
Comparing to
See all releases

Code changes from version 1.0.1 to 1.1.0

includes/class-wcpdf-export.php CHANGED
@@ -187,7 +187,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
187
 
188
  // clear temp folder (from http://stackoverflow.com/a/13468943/1446634)
189
  $tmp_path = WooCommerce_PDF_Invoices::$plugin_path . 'tmp/';
190
- array_map('unlink', ( glob( $tmp_path.'*' ) ?: array() ) );
191
 
192
  $order_status = apply_filters( 'wpo_wcpdf_attach_to_status', 'completed' );
193
 
187
 
188
  // clear temp folder (from http://stackoverflow.com/a/13468943/1446634)
189
  $tmp_path = WooCommerce_PDF_Invoices::$plugin_path . 'tmp/';
190
+ array_map('unlink', ( glob( $tmp_path.'*' ) ? glob( $tmp_path.'*' ) : array() ) );
191
 
192
  $order_status = apply_filters( 'wpo_wcpdf_attach_to_status', 'completed' );
193
 
includes/class-wcpdf-settings.php CHANGED
@@ -72,7 +72,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Settings' ) ) {
72
  }
73
 
74
  if ( $file == WooCommerce_PDF_Invoices::$plugin_basename ) {
75
- $links[] = '<a href="..." target="_blank" title="' . __( '...', 'wpo_wcpdf' ) . '">' . __( '...', 'wpo_wcpdf' ) . '</a>';
76
  }
77
  return $links;
78
  }
72
  }
73
 
74
  if ( $file == WooCommerce_PDF_Invoices::$plugin_basename ) {
75
+ // $links[] = '<a href="..." target="_blank" title="' . __( '...', 'wpo_wcpdf' ) . '">' . __( '...', 'wpo_wcpdf' ) . '</a>';
76
  }
77
  return $links;
78
  }
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: pomegranate
3
  Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
4
  Requires at least: 3.5 and WooCommerce 2.0
5
  Tested up to: 3.8 and WooCommerce 2.1
6
- Stable tag: 1.0.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -20,6 +20,7 @@ This WooCommerce extension lets you add a PDF invoice to the order confirmation
20
 
21
  = Fully customizable =
22
  In addition to a number of default settings (including a custom header/logo) and several layout fields that you can use out of the box, the plugin contains HTML/CSS based templates that allow for customization & full control over the PDF output.
 
23
  * Insert customer header image/logo
24
  * Modify shop data / footer / disclaimer etc. on the invoices & packing slips
25
  * Select paper size (Letter or A4)
@@ -65,13 +66,15 @@ Go to [wpovernight.com](https://wpovernight.com/downloads/woocommerce-pdf-invoic
65
 
66
  == Changelog ==
67
 
68
- = 1.0.1 =
69
  * Feature: Fees can now also be called ex. VAT
70
  * Feature: Invoices can now be downloaded from the My Account page
71
  * Feature: Spanish translation & POT file included
 
 
 
72
  * Tweak: Packing slip now displays shipping address instead of billing address
73
  * Tweak: Variation data is now displayed by default
74
- * Fix: ternary statement that caused an error
75
 
76
  = 1.0.0 =
77
  * First release
3
  Tags: woocommerce, print, pdf, bulk, packing slips, invoices, delivery notes, invoice, packing slip, export, email
4
  Requires at least: 3.5 and WooCommerce 2.0
5
  Tested up to: 3.8 and WooCommerce 2.1
6
+ Stable tag: 1.1.0
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
20
 
21
  = Fully customizable =
22
  In addition to a number of default settings (including a custom header/logo) and several layout fields that you can use out of the box, the plugin contains HTML/CSS based templates that allow for customization & full control over the PDF output.
23
+
24
  * Insert customer header image/logo
25
  * Modify shop data / footer / disclaimer etc. on the invoices & packing slips
26
  * Select paper size (Letter or A4)
66
 
67
  == Changelog ==
68
 
69
+ = 1.1.0 =
70
  * Feature: Fees can now also be called ex. VAT
71
  * Feature: Invoices can now be downloaded from the My Account page
72
  * Feature: Spanish translation & POT file included
73
+ * Fix: ternary statements that caused an error
74
+
75
+ = 1.0.1 =
76
  * Tweak: Packing slip now displays shipping address instead of billing address
77
  * Tweak: Variation data is now displayed by default
 
78
 
79
  = 1.0.0 =
80
  * First release
templates/pdf/Simple/style.css CHANGED
@@ -165,6 +165,11 @@ dd {
165
  margin-left: 5px;
166
  }
167
 
 
 
 
 
 
168
  /* Totals */
169
  table.totals {
170
  width: 100%;
165
  margin-left: 5px;
166
  }
167
 
168
+ dd:after {
169
+ content: "\A";
170
+ white-space: pre;
171
+ }
172
+
173
  /* Totals */
174
  table.totals {
175
  width: 100%;
woocommerce-pdf-invoices-packingslips.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
- * Version: 1.0.1
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later
3
  * Plugin Name: WooCommerce PDF Invoices & Packing Slips
4
  * Plugin URI: http://www.wpovernight.com
5
  * Description: Create, print & email PDF invoices & packing slips for WooCommerce orders.
6
+ * Version: 1.1.0
7
  * Author: Ewout Fernhout
8
  * Author URI: http://www.wpovernight.com
9
  * License: GPLv2 or later