Skip to content

Commit

Permalink
PES-2288: bulk label printing fix (#616)
Browse files Browse the repository at this point in the history
* PES-2288: bulk label printing fix

* PES-2288: version 1.8.1 prepared
  • Loading branch information
jan-potuznik-z authored Oct 8, 2024
1 parent 0622d77 commit 19c186d
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 7 deletions.
3 changes: 3 additions & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
== Changelog ==
= 1.8.1 =
Fixed: Error in bulk label printing.

= 1.8.0 =
Added: [Block-based checkout](https://woocommerce.com/checkout-blocks/) support.
Added: Calculation of the shipping price according to the order value.
Expand Down
4 changes: 2 additions & 2 deletions languages/packeta.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
# This file is distributed under the GNU General Public License v3.0.
msgid ""
msgstr ""
"Project-Id-Version: Packeta 1.8.0\n"
"Project-Id-Version: Packeta 1.8.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/packeta\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <[email protected]>\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"POT-Creation-Date: 2024-10-07T09:04:29+02:00\n"
"POT-Creation-Date: 2024-10-08T13:09:48+02:00\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"X-Generator: WP-CLI 2.10.0\n"
"X-Domain: packeta\n"
Expand Down
2 changes: 1 addition & 1 deletion packeta.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
*
* Plugin Name: Packeta
* 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.
* Version: 1.8.0
* Version: 1.8.1
* Author: Zásilkovna s.r.o.
* Author URI: https://www.zasilkovna.cz/
* Text Domain: packeta
Expand Down
6 changes: 4 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: packeta
Tags: WooCommerce, shipping
Requires at least: 5.5
Tested up to: 6.6.2
Stable tag: 1.8.0
Stable tag: 1.8.1
Requires PHP: 7.2
WC requires at least: 4.5
WC tested up to: 9.3.3
Expand Down Expand Up @@ -64,8 +64,10 @@ We are constantly working on adding new features. You can find a list of feature
Please contact us at [email protected] .

== Changelog ==
= 1.8.0 =
= 1.8.1 =
Fixed: Error in bulk label printing.

= 1.8.0 =
Added: [Block-based checkout](https://woocommerce.com/checkout-blocks/) support.
Added: Calculation of the shipping price according to the order value.
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.
Expand Down
2 changes: 1 addition & 1 deletion src/Packetery/Module/Order/LabelPrint.php
Original file line number Diff line number Diff line change
Expand Up @@ -488,7 +488,7 @@ private function getPacketIdsFromTransient( array $orderIds, bool $isCarrierLabe
continue;
}
if ( ! $isCarrierLabels || $order->isExternalCarrier() ) {
$packetIds[ $order->getNumber() ] = (int) $order->getPacketId();
$packetIds[ $order->getNumber() ] = $order->getPacketId();
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/Packetery/Module/Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
*/
class Plugin {

public const VERSION = '1.8.0';
public const VERSION = '1.8.1';
public const DOMAIN = 'packeta';
public const MIN_LISTENER_PRIORITY = - 9998;
public const PARAM_PACKETERY_ACTION = 'packetery_action';
Expand Down

0 comments on commit 19c186d

Please sign in to comment.