Version Description
March 27, 2015 =
Fixed: Suffix and company logo dissapearing
Download this release
Release Info
Developer | baaaaas |
Plugin | WooCommerce PDF Invoices |
Version | 2.0.3 |
Comparing to | |
See all releases |
Code changes from version 2.0.2 to 2.0.3
- admin/classes/wpi-template-settings.php +6 -2
- bootstrap.php +2 -2
- readme.txt +6 -2
admin/classes/wpi-template-settings.php
CHANGED
@@ -502,7 +502,11 @@ if ( ! class_exists( 'WPI_Template_Settings' ) ) {
|
|
502 |
}
|
503 |
|
504 |
// Validate company logo
|
505 |
-
$
|
|
|
|
|
|
|
|
|
506 |
|
507 |
// Validate textarea's
|
508 |
$ta_errors = 0;
|
@@ -562,7 +566,7 @@ if ( ! class_exists( 'WPI_Template_Settings' ) ) {
|
|
562 |
$output['invoice_prefix'] = esc_html($input['invoice_prefix']);
|
563 |
}
|
564 |
|
565 |
-
if( isset( $input['
|
566 |
$output['invoice_suffix'] = esc_html($input['invoice_suffix']);
|
567 |
}
|
568 |
|
502 |
}
|
503 |
|
504 |
// Validate company logo
|
505 |
+
if(isset( $_FILES['company_logo']) ) {
|
506 |
+
$output['company_logo'] = $this->upload_file();
|
507 |
+
} else if( isset( $input['company_logo'] ) ) {
|
508 |
+
$output['company_logo'] = $input['company_logo'];
|
509 |
+
}
|
510 |
|
511 |
// Validate textarea's
|
512 |
$ta_errors = 0;
|
566 |
$output['invoice_prefix'] = esc_html($input['invoice_prefix']);
|
567 |
}
|
568 |
|
569 |
+
if( isset( $input['invoice_suffix'] ) ) {
|
570 |
$output['invoice_suffix'] = esc_html($input['invoice_suffix']);
|
571 |
}
|
572 |
|
bootstrap.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
-
* @version 2.0.
|
5 |
* @package WooCommerce PDF Invoices
|
6 |
* @author baaaaas
|
7 |
*
|
@@ -9,7 +9,7 @@
|
|
9 |
* Plugin Name: WooCommerce PDF Invoices
|
10 |
* Plugin URI:
|
11 |
* Description: Generates customized PDF invoices and automatically attaches it to a WooCommerce email type of your choice. Now sending invoices to your Google Drive, Egnyte, Dropbox or OneDrive and it's all FREE!
|
12 |
-
* Version: 2.0.
|
13 |
* Author: baaaaas
|
14 |
* Author URI:
|
15 |
* License: GPL-2.0+
|
1 |
<?php
|
2 |
|
3 |
/**
|
4 |
+
* @version 2.0.3
|
5 |
* @package WooCommerce PDF Invoices
|
6 |
* @author baaaaas
|
7 |
*
|
9 |
* Plugin Name: WooCommerce PDF Invoices
|
10 |
* Plugin URI:
|
11 |
* Description: Generates customized PDF invoices and automatically attaches it to a WooCommerce email type of your choice. Now sending invoices to your Google Drive, Egnyte, Dropbox or OneDrive and it's all FREE!
|
12 |
+
* Version: 2.0.3
|
13 |
* Author: baaaaas
|
14 |
* Author URI:
|
15 |
* License: GPL-2.0+
|
readme.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== Plugin Name ===
|
2 |
Contributors: baaaaas
|
3 |
Donate link:
|
4 |
-
Tags: woocommerce pdf invoices, invoice,
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1.1
|
7 |
-
Stable tag: 2.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -67,6 +67,10 @@ The manual installation method involves downloading our plugin and uploading it
|
|
67 |
|
68 |
== Changelog ==
|
69 |
|
|
|
|
|
|
|
|
|
70 |
= 2.0.2 - March 26, 2015 =
|
71 |
|
72 |
- Fixed: PHP 5.3+ compatibility
|
1 |
=== Plugin Name ===
|
2 |
Contributors: baaaaas
|
3 |
Donate link:
|
4 |
+
Tags: woocommerce, woocommerce pdf invoices, woocommerce pdf invoice, pdf, pdf invoice, pdf invoices, pdf receipt, pdf bill, bill, billing, invoices, invoice, receipt, attach, email, mpdf, generate, completed order, customer invoice, processing order, automatic, automatically, shop invoice, woocommerce order, order, invoice number, number
|
5 |
Requires at least: 3.5
|
6 |
Tested up to: 4.1.1
|
7 |
+
Stable tag: 2.0.3
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
67 |
|
68 |
== Changelog ==
|
69 |
|
70 |
+
= 2.0.3 - March 27, 2015 =
|
71 |
+
|
72 |
+
- Fixed: Suffix and company logo dissapearing
|
73 |
+
|
74 |
= 2.0.2 - March 26, 2015 =
|
75 |
|
76 |
- Fixed: PHP 5.3+ compatibility
|