Skip to content

Commit 5e5c95d

Browse files
committed
v2.2.2
1 parent 26773a3 commit 5e5c95d

37 files changed

Lines changed: 690 additions & 220 deletions

.vscode/bookmarks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
"path": "pepro-ultimate-invoice.php",
55
"bookmarks": [
66
{
7-
"line": 425,
7+
"line": 432,
88
"column": 12,
99
"label": ""
1010
},
1111
{
12-
"line": 429,
12+
"line": 436,
1313
"column": 39,
1414
"label": ""
1515
}

.vscode/sftp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"dev": {
1212
"host": "49.12.129.169",
1313
"username": "prowordpress",
14-
"password": "a3}Zldvx{mq)",
14+
"password": "iqMVnH83oNWa3S2cK",
1515
"remotePath": "/_blackswanx.com/tg/wp-content/plugins/pepro-ultimate-invoice/"
1616
},
1717
"prod": { "remotePath": "/public_html/wp-content/plugins/" }

README.md

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,19 @@
1-
<img src="https://ps.w.org/pepro-ultimate-invoice/assets/banner-772x250.png" style="border-radius: 7px;"/>
2-
<img src="https://ps.w.org/pepro-ultimate-invoice/assets/banner-772x250-rtl.png" style="border-radius: 7px;"/>
1+
|en|fa|
2+
|----|----|
3+
|<img src="https://ps.w.org/pepro-ultimate-invoice/assets/banner-772x250.png" style="border-radius: 7px;"/>|<img src="https://ps.w.org/pepro-ultimate-invoice/assets/banner-772x250-rtl.png" style="border-radius: 7px;"/>|
34

4-
**[PeproDev Ultimate Invoice](https://wordpress.org/plugins/pepro-ultimate-invoice/)**
5+
**[Click here to Install PeproDev Ultimate Invoice](https://wordpress.org/plugins/pepro-ultimate-invoice/)**
56
==========================
67

7-
The Most Advanced Invoice Plugin you were looking for! Create customizable PDF/HTML invoices for WooCommerce, attach to Email, Packing Slips, Shipping Labels, Shipping Tracking, Single-shop feature and ...
8+
Advanced WooCommerce invoice plugin: create customizable HTML/PDF invoices, attach to emails, and let customers download styled invoices easily.
9+
10+
## Merry Christmas & Happy New Year 2026! 🎄🎉
11+
12+
Thank you for using and supporting this free plugin! If you have any questions or need assistance, please ask on the WordPress support forum. We're here to help!
13+
14+
### **Update to v2.2.2 to get the new Thermal Invoice feature and many more improvements!**
15+
16+
-----------------------
817

918
This plugin lets you to Generate Awesome Invoices for WooCommerce orders and:
1019

@@ -23,14 +32,6 @@ This plugin lets you to Generate Awesome Invoices for WooCommerce orders and:
2332

2433
-----------------------
2534

26-
#### Merry Christmas & Happy New Year 2026! 🎄🎉
27-
Thank you for using and supporting this free plugin! If you have any questions or need assistance, please ask on the WordPress support forum. We're here to help!
28-
29-
**Update to v2.2.1 to get the new Thermal Invoice feature and many more improvements!**
30-
31-
-----------------------
32-
33-
3435
### Made by Developers for Developers
3536
- [Github Wiki](https://github.com/peprodev/ultimate-invoice/wiki)
3637
- Over 190 Filter Hook
@@ -101,10 +102,11 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
101102
### ***Changelog***
102103

103104

104-
#### Version 2.2.1 | 2025-12-25 | 1404-10-04
105+
#### Version 2.2.2 | 2025-12-25 | 1404-10-04
105106
- Added: New Feature to Support Thermal Printer Labels (80mm / پرینتر حرارتی / فیش پرینتر)
106107
- Added: New Template for Thermal Printer Invoices
107108
- Added: Download POS Invoices PDF as ZIP Archive
109+
- Improvement: Changed *minimum PHP requirement to 7.4* 🙋‍♂️
108110
- Improvement: WooCommerce HPOS Full Compatibility
109111
- Improvement: Compatibility with WP 6.9 and WC 10.4
110112
- Improvement: PDF Zip Archive Comments Formatting
@@ -127,6 +129,7 @@ You can report security bugs through the Patchstack Vulnerability Disclosure Pro
127129
- Developers: Improvement `puiw_printinvoice_check_user_has_access` hook to control access manager checks
128130

129131

132+
130133
#### Version 2.1.0 | 2025-02-22 | 1403-12-04
131134
- Fixed Security Issue
132135
- Changed Default Security Options

include/admin/class-print.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @Author: Amirhossein Hosseinpour <https://amirhp.com>
44
* @Date Created: 2022/10/15 13:44:52
55
* @Last modified by: amirhp-com <its@amirhp.com>
6-
* @Last modified time: 2025/12/25 05:32:41
6+
* @Last modified time: 2025/12/25 13:46:48
77
*/
88

99
namespace peproulitmateinvoice;
@@ -1474,7 +1474,7 @@ public function create_slips($order_id = 0, $MODE = "HTML") {
14741474

14751475
$optm = array(
14761476
"n" => $n,
1477-
"img" => ("PDF" == $MODE) ? $product->get_image(array(50, 50)) : $product->get_image('shop_thumbnail'),
1477+
"img" => $product->get_image(array(50, 50)),
14781478
"sku" => $sku,
14791479
"title" => $name,
14801480
"qty" => $quantity,
@@ -1696,7 +1696,7 @@ public function create_inventory($order_id = 0, $MODE = "HTML") {
16961696

16971697
$optm = array(
16981698
"n" => $n,
1699-
"img" => ("PDF" == $MODE) ? $product->get_image(array(50, 50)) : $product->get_image('shop_thumbnail'),
1699+
"img" => $product->get_image(array(50, 50)),
17001700
"sku" => $sku,
17011701
"title" => $name,
17021702
"qty" => $quantity,

include/composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
"voku/css-to-inline-styles": "^2.0",
44
"mpdf/mpdf": "^8.0",
55
"picqer/php-barcode-generator": "^2.0"
6+
},
7+
"config": {
8+
"platform": {
9+
"php": "7.4.0"
10+
}
611
}
712
}

include/composer.lock

Lines changed: 27 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

include/vendor/composer/autoload_psr4.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
'setasign\\Fpdi\\' => array($vendorDir . '/setasign/fpdi/src'),
1212
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
1313
'Symfony\\Component\\CssSelector\\' => array($vendorDir . '/symfony/css-selector'),
14-
'Psr\\Log\\' => array($vendorDir . '/psr/log/src'),
14+
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
1515
'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'),
1616
'Picqer\\Barcode\\' => array($vendorDir . '/picqer/php-barcode-generator/src'),
1717
'Mpdf\\PsrLogAwareTrait\\' => array($vendorDir . '/mpdf/psr-log-aware-trait/src'),

include/vendor/composer/autoload_static.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class ComposerStaticInit6f16b5c10e4a7c0815c223eaf3ba8785
6868
),
6969
'Psr\\Log\\' =>
7070
array (
71-
0 => __DIR__ . '/..' . '/psr/log/src',
71+
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
7272
),
7373
'Psr\\Http\\Message\\' =>
7474
array (

0 commit comments

Comments
 (0)