Skip to content

Commit 19c186d

Browse files
PES-2288: bulk label printing fix (#616)
* PES-2288: bulk label printing fix * PES-2288: version 1.8.1 prepared
1 parent 0622d77 commit 19c186d

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

changelog.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
== Changelog ==
2+
= 1.8.1 =
3+
Fixed: Error in bulk label printing.
4+
25
= 1.8.0 =
36
Added: [Block-based checkout](https://woocommerce.com/checkout-blocks/) support.
47
Added: Calculation of the shipping price according to the order value.

languages/packeta.pot

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
# This file is distributed under the GNU General Public License v3.0.
33
msgid ""
44
msgstr ""
5-
"Project-Id-Version: Packeta 1.8.0\n"
5+
"Project-Id-Version: Packeta 1.8.1\n"
66
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/packeta\n"
77
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
88
"Language-Team: LANGUAGE <[email protected]>\n"
99
"MIME-Version: 1.0\n"
1010
"Content-Type: text/plain; charset=UTF-8\n"
1111
"Content-Transfer-Encoding: 8bit\n"
12-
"POT-Creation-Date: 2024-10-07T09:04:29+02:00\n"
12+
"POT-Creation-Date: 2024-10-08T13:09:48+02:00\n"
1313
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1414
"X-Generator: WP-CLI 2.10.0\n"
1515
"X-Domain: packeta\n"

packeta.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
* Plugin Name: Packeta
1010
* Description: This is the official plugin, that allows you to choose pickup points of Packeta and its external carriers in all of Europe, or utilize address delivery to 25 countries in the European Union, straight from the cart in your e-shop. Furthermore, you can also submit all your orders to Packeta with just one click.
11-
* Version: 1.8.0
11+
* Version: 1.8.1
1212
* Author: Zásilkovna s.r.o.
1313
* Author URI: https://www.zasilkovna.cz/
1414
* Text Domain: packeta

readme.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: packeta
33
Tags: WooCommerce, shipping
44
Requires at least: 5.5
55
Tested up to: 6.6.2
6-
Stable tag: 1.8.0
6+
Stable tag: 1.8.1
77
Requires PHP: 7.2
88
WC requires at least: 4.5
99
WC tested up to: 9.3.3
@@ -64,8 +64,10 @@ We are constantly working on adding new features. You can find a list of feature
6464
Please contact us at [email protected] .
6565

6666
== Changelog ==
67-
= 1.8.0 =
67+
= 1.8.1 =
68+
Fixed: Error in bulk label printing.
6869

70+
= 1.8.0 =
6971
Added: [Block-based checkout](https://woocommerce.com/checkout-blocks/) support.
7072
Added: Calculation of the shipping price according to the order value.
7173
Added: Important information about the packet (submission or cancellation of the packet, label printing, creation of a claims assistant) will now be recorded in the internal order note.

src/Packetery/Module/Order/LabelPrint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ private function getPacketIdsFromTransient( array $orderIds, bool $isCarrierLabe
488488
continue;
489489
}
490490
if ( ! $isCarrierLabels || $order->isExternalCarrier() ) {
491-
$packetIds[ $order->getNumber() ] = (int) $order->getPacketId();
491+
$packetIds[ $order->getNumber() ] = $order->getPacketId();
492492
}
493493
}
494494

src/Packetery/Module/Plugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*/
3131
class Plugin {
3232

33-
public const VERSION = '1.8.0';
33+
public const VERSION = '1.8.1';
3434
public const DOMAIN = 'packeta';
3535
public const MIN_LISTENER_PRIORITY = - 9998;
3636
public const PARAM_PACKETERY_ACTION = 'packetery_action';

0 commit comments

Comments
 (0)