Version Description
- Fix: warning for tax implode
- Fix: hyperlink underline (was more like a strikethrough)
Download this release
Release Info
Developer | pomegranate |
Plugin | WooCommerce PDF Invoices & Packing Slips |
Version | 1.2.12 |
Comparing to | |
See all releases |
Code changes from version 1.2.11 to 1.2.12
includes/class-wcpdf-export.php
CHANGED
@@ -488,6 +488,8 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
488 |
$tax = new WC_Tax();
|
489 |
$taxes = $tax->get_rates( $tax_class );
|
490 |
|
|
|
|
|
491 |
foreach ($taxes as $tax) {
|
492 |
$tax_rates[$tax['label']] = round( $tax['rate'], 2 ).'%';
|
493 |
}
|
@@ -497,7 +499,7 @@ if ( ! class_exists( 'WooCommerce_PDF_Invoices_Export' ) ) {
|
|
497 |
if ( $line_total != 0) {
|
498 |
$tax_rates = round( ($line_tax / $line_total)*100, 1 ).'%';
|
499 |
} else {
|
500 |
-
$tax_rates =
|
501 |
}
|
502 |
}
|
503 |
|
488 |
$tax = new WC_Tax();
|
489 |
$taxes = $tax->get_rates( $tax_class );
|
490 |
|
491 |
+
$tax_rates = array();
|
492 |
+
|
493 |
foreach ($taxes as $tax) {
|
494 |
$tax_rates[$tax['label']] = round( $tax['rate'], 2 ).'%';
|
495 |
}
|
499 |
if ( $line_total != 0) {
|
500 |
$tax_rates = round( ($line_tax / $line_total)*100, 1 ).'%';
|
501 |
} else {
|
502 |
+
$tax_rates = '-';
|
503 |
}
|
504 |
}
|
505 |
|
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.1 and WooCommerce 2.1
|
6 |
-
Stable tag: 1.2.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -168,6 +168,10 @@ This usually only happens on batch actions. PDF creation is a memory intensive j
|
|
168 |
|
169 |
== Changelog ==
|
170 |
|
|
|
|
|
|
|
|
|
171 |
= 1.2.11 =
|
172 |
* Translations: Fixed German spelling error
|
173 |
* Translations: Updated Swedish (Thanks Fredrik!)
|
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.1 and WooCommerce 2.1
|
6 |
+
Stable tag: 1.2.12
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
168 |
|
169 |
== Changelog ==
|
170 |
|
171 |
+
= 1.2.12 =
|
172 |
+
* Fix: warning for tax implode
|
173 |
+
* Fix: hyperlink underline (was more like a strikethrough)
|
174 |
+
|
175 |
= 1.2.11 =
|
176 |
* Translations: Fixed German spelling error
|
177 |
* Translations: Updated Swedish (Thanks Fredrik!)
|
templates/pdf/Simple/style.css
CHANGED
@@ -68,6 +68,11 @@ p + p {
|
|
68 |
margin-top: 1.25em;
|
69 |
}
|
70 |
|
|
|
|
|
|
|
|
|
|
|
71 |
/* Basic Table Styling */
|
72 |
table {
|
73 |
border-collapse: collapse;
|
68 |
margin-top: 1.25em;
|
69 |
}
|
70 |
|
71 |
+
a {
|
72 |
+
border-bottom: 1px solid;
|
73 |
+
text-decoration: none;
|
74 |
+
}
|
75 |
+
|
76 |
/* Basic Table Styling */
|
77 |
table {
|
78 |
border-collapse: collapse;
|
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.2.
|
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.2.12
|
7 |
* Author: Ewout Fernhout
|
8 |
* Author URI: http://www.wpovernight.com
|
9 |
* License: GPLv2 or later
|